File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,13 @@ pip install -q -r "${MONOREPO_ROOT}"/.ci/requirements.txt
6363export LLVM_SYMBOLIZER_PATH=` which llvm-symbolizer`
6464[[ ! -f " ${LLVM_SYMBOLIZER_PATH} " ]] && echo " llvm-symbolizer not found!"
6565
66+ # Set up all runtimes either way. libcxx is a dependency of LLDB.
67+ # If it ends up being unused, not much harm.
6668cmake -S " ${MONOREPO_ROOT} " /llvm -B " ${BUILD_DIR} " \
6769 -D LLVM_ENABLE_PROJECTS=" ${projects} " \
70+ -D LLVM_ENABLE_RUNTIMES=" libcxx;libcxxabi;libunwind" \
6871 -G Ninja \
72+ -D CMAKE_PREFIX_PATH=" ${HOME} /.local" \
6973 -D CMAKE_BUILD_TYPE=Release \
7074 -D LLVM_ENABLE_ASSERTIONS=ON \
7175 -D LLVM_BUILD_EXAMPLES=ON \
@@ -74,7 +78,10 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
7478 -D LLVM_ENABLE_LLD=ON \
7579 -D CMAKE_CXX_FLAGS=-gmlt \
7680 -D LLVM_CCACHE_BUILD=ON \
81+ -D LIBCXX_CXX_ABI=libcxxabi \
7782 -D MLIR_ENABLE_BINDINGS_PYTHON=ON \
83+ -D LLDB_ENABLE_PYTHON=ON \
84+ -D LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS=ON \
7885 -D CMAKE_INSTALL_PREFIX=" ${INSTALL_DIR} "
7986
8087echo " --- ninja"
Original file line number Diff line number Diff line change @@ -5,3 +5,5 @@ psutil>=5.9.4
55# See llvm.org/pr22274.
66pexpect >= 4.9.0 ; sys_platform != 'win32'
77packaging
8+ # Required for python tests
9+ swig
You can’t perform that action at this time.
0 commit comments