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 @@ -67,9 +67,13 @@ pip install -q -r "${MONOREPO_ROOT}"/.ci/requirements.txt
6767export LLVM_SYMBOLIZER_PATH=` which llvm-symbolizer`
6868[[ ! -f " ${LLVM_SYMBOLIZER_PATH} " ]] && echo " llvm-symbolizer not found!"
6969
70+ # Set up all runtimes either way. libcxx is a dependency of LLDB.
71+ # It will not be built unless it is used.
7072cmake -S " ${MONOREPO_ROOT} " /llvm -B " ${BUILD_DIR} " \
7173 -D LLVM_ENABLE_PROJECTS=" ${projects} " \
74+ -D LLVM_ENABLE_RUNTIMES=" libcxx;libcxxabi;libunwind" \
7275 -G Ninja \
76+ -D CMAKE_PREFIX_PATH=" ${HOME} /.local" \
7377 -D CMAKE_BUILD_TYPE=Release \
7478 -D LLVM_ENABLE_ASSERTIONS=ON \
7579 -D LLVM_BUILD_EXAMPLES=ON \
@@ -78,7 +82,10 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
7882 -D LLVM_ENABLE_LLD=ON \
7983 -D CMAKE_CXX_FLAGS=-gmlt \
8084 -D LLVM_CCACHE_BUILD=ON \
85+ -D LIBCXX_CXX_ABI=libcxxabi \
8186 -D MLIR_ENABLE_BINDINGS_PYTHON=ON \
87+ -D LLDB_ENABLE_PYTHON=ON \
88+ -D LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS=ON \
8289 -D CMAKE_INSTALL_PREFIX=" ${INSTALL_DIR} "
8390
8491echo " --- 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 >= 4.0.0
You can’t perform that action at this time.
0 commit comments