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
67
67
export LLVM_SYMBOLIZER_PATH=` which llvm-symbolizer`
68
68
[[ ! -f " ${LLVM_SYMBOLIZER_PATH} " ]] && echo " llvm-symbolizer not found!"
69
69
70
+ # Set up all runtimes either way. libcxx is a dependency of LLDB.
71
+ # It will not be built unless it is used.
70
72
cmake -S " ${MONOREPO_ROOT} " /llvm -B " ${BUILD_DIR} " \
71
73
-D LLVM_ENABLE_PROJECTS=" ${projects} " \
74
+ -D LLVM_ENABLE_RUNTIMES=" libcxx;libcxxabi;libunwind" \
72
75
-G Ninja \
76
+ -D CMAKE_PREFIX_PATH=" ${HOME} /.local" \
73
77
-D CMAKE_BUILD_TYPE=Release \
74
78
-D LLVM_ENABLE_ASSERTIONS=ON \
75
79
-D LLVM_BUILD_EXAMPLES=ON \
@@ -78,7 +82,10 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
78
82
-D LLVM_ENABLE_LLD=ON \
79
83
-D CMAKE_CXX_FLAGS=-gmlt \
80
84
-D LLVM_CCACHE_BUILD=ON \
85
+ -D LIBCXX_CXX_ABI=libcxxabi \
81
86
-D MLIR_ENABLE_BINDINGS_PYTHON=ON \
87
+ -D LLDB_ENABLE_PYTHON=ON \
88
+ -D LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS=ON \
82
89
-D CMAKE_INSTALL_PREFIX=" ${INSTALL_DIR} "
83
90
84
91
echo " --- ninja"
Original file line number Diff line number Diff line change @@ -5,3 +5,5 @@ psutil>=5.9.4
5
5
# See llvm.org/pr22274.
6
6
pexpect >= 4.9.0 ; sys_platform != 'win32'
7
7
packaging
8
+ # Required for python tests
9
+ swig >= 4.0.0
You can’t perform that action at this time.
0 commit comments