[libc++] Ensure the CI scripts can find Ninja

Ninja isn't necessarily installed on macOS out of the box, so make sure
we use the SDK Ninja instead of relying on one being available on the
system.
This commit is contained in:
Louis Dionne 2020-08-13 11:10:13 -04:00
parent 73f0772c0b
commit 1ffc299628
2 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,7 @@ mkdir -p "${LLVM_BUILD_DIR}"
xcrun cmake \
-C "${MONOREPO_ROOT}/libcxx/cmake/caches/Apple.cmake" \
-GNinja \
-DCMAKE_MAKE_PROGRAM="$(xcrun --find ninja)" \
-DCMAKE_INSTALL_PREFIX="${LLVM_INSTALL_DIR}" \
-DLLVM_ENABLE_PROJECTS="libcxx;libcxxabi" \
-DCMAKE_OSX_ARCHITECTURES="x86_64" \

View File

@ -95,6 +95,7 @@ mkdir -p "${LLVM_BUILD_DIR}"
xcrun cmake \
-C "${MONOREPO_ROOT}/libcxx/cmake/caches/Apple.cmake" \
-GNinja \
-DCMAKE_MAKE_PROGRAM="$(xcrun --find ninja)" \
-DCMAKE_INSTALL_PREFIX="${LLVM_INSTALL_DIR}" \
-DLIBCXX_ENABLE_EXCEPTIONS="${LIBCXX_EXCEPTIONS}" \
-DLIBCXXABI_ENABLE_EXCEPTIONS=ON \