Skip to content

Commit f562da9

Browse files
authored
build-script: Don't build compiler-rt for embedded devices (swiftlang#29256)
Compiler-rt isn't needed for the on-device build.
1 parent 6da7ec3 commit f562da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build-script-impl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1516,7 +1516,7 @@ for host in "${ALL_HOSTS[@]}"; do
15161516

15171517
llvm_enable_projects=("clang")
15181518

1519-
if [[ ! "${SKIP_BUILD_COMPILER_RT}" ]]; then
1519+
if [[ ! "${SKIP_BUILD_COMPILER_RT}" && ! $(is_cross_tools_host ${host}) ]]; then
15201520
llvm_enable_projects+=("compiler-rt")
15211521
fi
15221522

0 commit comments

Comments
 (0)