forked from OSchip/llvm-project
[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:
parent
281e0f3636
commit
1913bb622c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue