Skip to content

Commit 0674594

Browse files
authored
build: disable building the test binaries when cross-compiling the host tools (#40375)
Building the tests has been disabled when cross-compiling the toolchain almost from the beginning, but #39130 enabled building the test binaries by default again, so I had to locally disable building those tests when cross-compiling a standalone stdlib for Android.
1 parent 307251a commit 0674594

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/build-script-impl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1943,6 +1943,7 @@ for host in "${ALL_HOSTS[@]}"; do
19431943
cmake_options=(
19441944
"${cmake_options[@]}"
19451945
-DLLVM_TABLEGEN=$(build_directory "${LOCAL_HOST}" llvm)/bin/llvm-tblgen
1946+
-DSWIFT_INCLUDE_TEST_BINARIES:BOOL=FALSE
19461947
)
19471948
fi
19481949

0 commit comments

Comments
 (0)