File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -2153,8 +2153,18 @@ for host in "${ALL_HOSTS[@]}"; do
2153
2153
fi
2154
2154
if [ " ${SKIP_BUILD_LLVM} " ] ; then
2155
2155
# We can't skip the build completely because the standalone
2156
- # build of Swift depend on these for testing etc.
2157
- build_targets=(llvm-tblgen clang-headers intrinsics_gen clang-tablegen-targets FileCheck not)
2156
+ # build of Swift depend on these for building and testing.
2157
+ build_targets=(llvm-tblgen clang-headers intrinsics_gen clang-tablegen-targets)
2158
+ # If we are not performing a toolchain only build, then we
2159
+ # also want to include FileCheck and not for testing
2160
+ # purposes.
2161
+ if [[ ! " ${BUILD_TOOLCHAIN_ONLY} " ]] ; then
2162
+ build_targets=(
2163
+ " ${build_targets[@]} "
2164
+ FileCheck
2165
+ not
2166
+ )
2167
+ fi
2158
2168
fi
2159
2169
2160
2170
if [ " ${HOST_LIBTOOL} " ] ; then
You can’t perform that action at this time.
0 commit comments