File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
validation-test/BuildSystem Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -1141,10 +1141,14 @@ LIBDISPATCH_STATIC_SOURCE_DIR="${WORKSPACE}/swift-corelibs-libdispatch"
1141
1141
LIBICU_SOURCE_DIR=" ${WORKSPACE} /icu"
1142
1142
LIBCXX_SOURCE_DIR=" ${WORKSPACE} /llvm-project/libcxx"
1143
1143
1144
+ # We cannot currently apply the normal rules of skipping here for LLVM. Even if
1145
+ # we are skipping building LLVM, we still need to at least build a few tools
1146
+ # like tblgen that Swift relies on for building and testing. See the LLVM
1147
+ # configure rules.
1148
+ PRODUCTS=(llvm)
1144
1149
[[ " ${SKIP_BUILD_CMARK} " ]] || PRODUCTS+=(cmark)
1145
1150
[[ " ${SKIP_BUILD_LIBCXX} " ]] || PRODUCTS+=(libcxx)
1146
1151
[[ " ${SKIP_BUILD_LIBICU} " ]] || PRODUCTS+=(libicu)
1147
- [[ " ${SKIP_BUILD_LLVM} " ]] || PRODUCTS+=(llvm)
1148
1152
[[ " ${SKIP_BUILD_SWIFT} " ]] || PRODUCTS+=(swift)
1149
1153
[[ " ${SKIP_BUILD_LLDB} " ]] || PRODUCTS+=(lldb)
1150
1154
[[ " ${SKIP_BUILD_LIBDISPATCH} " ]] || PRODUCTS+=(libdispatch)
@@ -1534,7 +1538,7 @@ for host in "${ALL_HOSTS[@]}"; do
1534
1538
if [ " ${BUILD_LLVM} " == " 0" ] ; then
1535
1539
build_targets=(clean)
1536
1540
fi
1537
- if [ " ${SKIP_BUILD} " ] ; then
1541
+ if [[ " ${SKIP_BUILD} " || " ${SKIP_BUILD_LLVM} " ] ] ; then
1538
1542
# We can't skip the build completely because the standalone
1539
1543
# build of Swift depend on these for building and testing.
1540
1544
build_targets=(llvm-tblgen clang-resource-headers intrinsics_gen clang-tablegen-targets)
Original file line number Diff line number Diff line change 15
15
# SKIP-CMARK-CHECK: cmake --build {{.*}}swift-
16
16
17
17
# SKIP-LLVM-CHECK: cmake --build {{.*}}cmark-
18
- # SKIP-LLVM-CHECK-NOT : cmake --build {{.*}}llvm-
18
+ # SKIP-LLVM-CHECK: cmake --build {{.*}}llvm-tblgen
19
19
# SKIP-LLVM-CHECK: cmake --build {{.*}}swift-
20
20
21
21
# SKIP-SWIFT-CHECK: cmake --build {{.*}}cmark-
You can’t perform that action at this time.
0 commit comments