We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 542b10c + 7e7f964 commit 9bb8877Copy full SHA for 9bb8877
utils/build-script-impl
@@ -2926,7 +2926,7 @@ for host in "${ALL_HOSTS[@]}"; do
2926
# When we are building LLVM copy over the compiler-rt
2927
# builtins for iOS/tvOS/watchOS to ensure that Swift's
2928
# stdlib can use compiler-rt builtins when targetting iOS/tvOS/watchOS.
2929
- if [[ "${product}" == "llvm" ]]; then
+ if [[ "${product}" == "llvm" && "${BUILD_LLVM}" == "1" ]]; then
2930
if [[ "$(uname -s)" == "Darwin" ]] ; then
2931
HOST_CXX_DIR=$(dirname "${HOST_CXX}")
2932
HOST_CXX_BUILTINS_VERSION=$(ls "$HOST_CXX_DIR/../lib/clang" | awk '{print $0}')
0 commit comments