[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.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@356562 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/ci/macos-backdeployment.sh b/utils/ci/macos-backdeployment.sh
index aaed799..bf4984d 100755
--- a/utils/ci/macos-backdeployment.sh
+++ b/utils/ci/macos-backdeployment.sh
@@ -106,8 +106,6 @@
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/utils/ci/macos-trunk.sh b/utils/ci/macos-trunk.sh
index b646333..de7db0d 100755
--- a/utils/ci/macos-trunk.sh
+++ b/utils/ci/macos-trunk.sh
@@ -98,13 +98,10 @@
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 "@@@@@@"