summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-03-20 15:40:56 +0000
committerLouis Dionne <ldionne@apple.com>2019-03-20 15:40:56 +0000
commite526a6bd5598c26e29c308bfe4562c6de0af7f5c (patch)
tree0f4d0ba8709164d394f60d176d659c0cd1554af8 /libcxx
parent137976fae22df17daa16dd9002a2c74cd38b9c67 (diff)
downloadbcm5719-llvm-e526a6bd5598c26e29c308bfe4562c6de0af7f5c.tar.gz
bcm5719-llvm-e526a6bd5598c26e29c308bfe4562c6de0af7f5c.zip
[libc++] Do not force going through xcrun to find Clang in the macOS CI scripts
It should be possible to run those CI scripts with different compilers by simply exporting a different CXX environment variable. llvm-svn: 356562
Diffstat (limited to 'libcxx')
-rwxr-xr-xlibcxx/utils/ci/macos-backdeployment.sh2
-rwxr-xr-xlibcxx/utils/ci/macos-trunk.sh5
2 files changed, 1 insertions, 6 deletions
diff --git a/libcxx/utils/ci/macos-backdeployment.sh b/libcxx/utils/ci/macos-backdeployment.sh
index aaed799a304..bf4984d1fa0 100755
--- a/libcxx/utils/ci/macos-backdeployment.sh
+++ b/libcxx/utils/ci/macos-backdeployment.sh
@@ -106,8 +106,6 @@ LIBCXXABI_INSTALL_DIR="${TEMP_DIR}/libcxxabi-install"
PREVIOUS_DYLIBS_URL="http://lab.llvm.org:8080/roots/libcxx-roots.tar.gz"
LLVM_TARBALL_URL="https://github.com/llvm-mirror/llvm/archive/master.tar.gz"
-export CC="$(xcrun --find clang)"
-export CXX="$(xcrun --find clang++)"
echo "@@@ Downloading LLVM tarball of master (only used for CMake configuration) @@@"
diff --git a/libcxx/utils/ci/macos-trunk.sh b/libcxx/utils/ci/macos-trunk.sh
index b64633387b2..de7db0d3809 100755
--- a/libcxx/utils/ci/macos-trunk.sh
+++ b/libcxx/utils/ci/macos-trunk.sh
@@ -98,13 +98,10 @@ LIBCXX_INSTALL_DIR="${TEMP_DIR}/libcxx-install"
LIBCXXABI_BUILD_DIR="${TEMP_DIR}/libcxxabi-build"
LIBCXXABI_INSTALL_DIR="${TEMP_DIR}/libcxxabi-install"
-LLVM_TARBALL_URL="https://github.com/llvm-mirror/llvm/archive/master.tar.gz"
-export CC="$(xcrun --find clang)"
-export CXX="$(xcrun --find clang++)"
-
echo "@@@ Downloading LLVM tarball of master (only used for CMake configuration) @@@"
mkdir "${LLVM_ROOT}"
+LLVM_TARBALL_URL="https://github.com/llvm-mirror/llvm/archive/master.tar.gz"
curl -L "${LLVM_TARBALL_URL}" | tar -xz --strip-components=1 -C "${LLVM_ROOT}"
echo "@@@@@@"
OpenPOWER on IntegriCloud