[libcxx-commits] [libcxx] 1913bb6 - [libc++][ci] Also install the library in the CI scripts
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Oct 21 14:36:02 PDT 2020
Author: Louis Dionne
Date: 2020-10-21T17:34:58-04:00
New Revision: 1913bb622cbc735b31ae5d529442c79b5e6fef75
URL: https://github.com/llvm/llvm-project/commit/1913bb622cbc735b31ae5d529442c79b5e6fef75
DIFF: https://github.com/llvm/llvm-project/commit/1913bb622cbc735b31ae5d529442c79b5e6fef75.diff
LOG: [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.
Added:
Modified:
libcxx/utils/ci/run-buildbot.sh
Removed:
################################################################################
diff --git a/libcxx/utils/ci/run-buildbot.sh b/libcxx/utils/ci/run-buildbot.sh
index 87a1f0f1d622..736aef41b061 100755
--- a/libcxx/utils/ci/run-buildbot.sh
+++ b/libcxx/utils/ci/run-buildbot.sh
@@ -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
More information about the libcxx-commits
mailing list