Skip to content

Commit

Permalink
build-script-impl: do not copy the darwin compiler-rt builtin archive…
Browse files Browse the repository at this point in the history
…s when using --build-llvm 0
  • Loading branch information
hyp committed Jun 19, 2019
1 parent a92357a commit d66caf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/build-script-impl
Expand Up @@ -2949,7 +2949,7 @@ for host in "${ALL_HOSTS[@]}"; do
# When we are building LLVM copy over the compiler-rt
# builtins for iOS/tvOS/watchOS to ensure that Swift's
# stdlib can use compiler-rt builtins when targetting iOS/tvOS/watchOS.
if [[ "${product}" == "llvm" ]]; then
if [[ "${product}" == "llvm" && "${BUILD_LLVM}" == "1" ]]; then
if [[ "$(uname -s)" == "Darwin" ]] ; then
HOST_CXX_DIR=$(dirname "${HOST_CXX}")
HOST_CXX_BUILTINS_VERSION=$(ls "$HOST_CXX_DIR/../lib/clang" | awk '{print $0}')
Expand Down

0 comments on commit d66caf0

Please sign in to comment.