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 @@ -2150,8 +2150,18 @@ for host in "${ALL_HOSTS[@]}"; do
2150
2150
fi
2151
2151
if [ " ${SKIP_BUILD_LLVM} " ] ; then
2152
2152
# We can't skip the build completely because the standalone
2153
- # build of Swift depend on these for testing etc.
2154
- build_targets=(llvm-tblgen clang-headers intrinsics_gen clang-tablegen-targets FileCheck not)
2153
+ # build of Swift depend on these for building and testing.
2154
+ build_targets=(llvm-tblgen clang-headers intrinsics_gen clang-tablegen-targets)
2155
+ # If we are not performing a toolchain only build, then we
2156
+ # also want to include FileCheck and not for testing
2157
+ # purposes.
2158
+ if [[ ! " ${BUILD_TOOLCHAIN_ONLY} " ]] ; then
2159
+ build_targets=(
2160
+ " ${build_targets[@]} "
2161
+ FileCheck
2162
+ not
2163
+ )
2164
+ fi
2155
2165
fi
2156
2166
2157
2167
if [ " ${HOST_LIBTOOL} " ] ; then
You can’t perform that action at this time.
0 commit comments