[libc++][ci] Also install the library in the CI scripts

It's good to run the installation step to make sure it works properly,
as build system changes can break that.
This commit is contained in:
Louis Dionne 2020-10-21 13:57:05 -04:00
parent 281e0f3636
commit 1913bb622c
1 changed files with 5 additions and 0 deletions

View File

@ -12,9 +12,11 @@ set -ex
BUILDER="${1}"
MONOREPO_ROOT="$(git rev-parse --show-toplevel)"
BUILD_DIR="${MONOREPO_ROOT}/build/${BUILDER}"
INSTALL_DIR="${MONOREPO_ROOT}/build/${BUILDER}/install"
args=()
args+=("-DLLVM_ENABLE_PROJECTS=libcxx;libunwind;libcxxabi")
args+=("-DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}")
args+=("-DLIBCXX_CXX_ABI=libcxxabi")
case "${BUILDER}" in
@ -148,5 +150,8 @@ ninja -C "${BUILD_DIR}" check-cxx
echo "+++ Running the libc++abi tests"
ninja -C "${BUILD_DIR}" check-cxxabi
echo "+++ Installing libc++ and libc++abi to a fake location"
ninja -C "${BUILD_DIR}" install-cxx install-cxxabi
# echo "+++ Running the libc++ benchmarks"
# ninja -C "${BUILD_DIR}" check-cxx-benchmarks