Skip to content

Commit 3c7a392

Browse files
Build cxx-common architecture targets when building llvm via vcpkg.json (#874)
1 parent 6ecebab commit 3c7a392

File tree

2 files changed

+36
-2
lines changed

2 files changed

+36
-2
lines changed

ports/llvm-12/vcpkg.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919
"clang",
2020
"compiler-rt",
2121
"default-options",
22-
"default-targets",
22+
"cxx-common-targets",
2323
"libcxx",
24+
"libcxxabi",
2425
"mlir",
2526
"tools"
2627
],
@@ -62,6 +63,22 @@
6263
}
6364
]
6465
},
66+
"cxx-common-targets": {
67+
"description": "Build with cxx-common target set",
68+
"dependencies": [
69+
{
70+
"name": "llvm-12",
71+
"default-features": false,
72+
"features": [
73+
"target-aarch64",
74+
"target-arm",
75+
"target-nvptx",
76+
"target-sparc",
77+
"target-x86"
78+
]
79+
}
80+
]
81+
},
6582
"default-targets": {
6683
"description": "Build with platform-specific default targets.",
6784
"dependencies": [

ports/llvm-13/vcpkg.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919
"clang",
2020
"compiler-rt",
2121
"default-options",
22-
"default-targets",
22+
"cxx-common-targets",
2323
"libcxx",
24+
"libcxxabi",
2425
"mlir",
2526
"tools"
2627
],
@@ -62,6 +63,22 @@
6263
}
6364
]
6465
},
66+
"cxx-common-targets": {
67+
"description": "Build with cxx-common target set",
68+
"dependencies": [
69+
{
70+
"name": "llvm-13",
71+
"default-features": false,
72+
"features": [
73+
"target-aarch64",
74+
"target-arm",
75+
"target-nvptx",
76+
"target-sparc",
77+
"target-x86"
78+
]
79+
}
80+
]
81+
},
6582
"default-targets": {
6683
"description": "Build with platform-specific default targets.",
6784
"dependencies": [

0 commit comments

Comments
 (0)