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
63
63
export LLVM_SYMBOLIZER_PATH=` which llvm-symbolizer`
64
64
[[ ! -f " ${LLVM_SYMBOLIZER_PATH} " ]] && echo " llvm-symbolizer not found!"
65
65
66
+ # Set up all runtimes either way. libcxx is a dependency of LLDB.
67
+ # If it ends up being unused, not much harm.
66
68
cmake -S " ${MONOREPO_ROOT} " /llvm -B " ${BUILD_DIR} " \
67
69
-D LLVM_ENABLE_PROJECTS=" ${projects} " \
70
+ -D LLVM_ENABLE_RUNTIMES=" libcxx;libcxxabi;libunwind" \
68
71
-G Ninja \
72
+ -D CMAKE_PREFIX_PATH=" ${HOME} /.local" \
69
73
-D CMAKE_BUILD_TYPE=Release \
70
74
-D LLVM_ENABLE_ASSERTIONS=ON \
71
75
-D LLVM_BUILD_EXAMPLES=ON \
@@ -74,7 +78,10 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
74
78
-D LLVM_ENABLE_LLD=ON \
75
79
-D CMAKE_CXX_FLAGS=-gmlt \
76
80
-D LLVM_CCACHE_BUILD=ON \
81
+ -D LIBCXX_CXX_ABI=libcxxabi \
77
82
-D MLIR_ENABLE_BINDINGS_PYTHON=ON \
83
+ -D LLDB_ENABLE_PYTHON=ON \
84
+ -D LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS=ON \
78
85
-D CMAKE_INSTALL_PREFIX=" ${INSTALL_DIR} "
79
86
80
87
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
You can’t perform that action at this time.
0 commit comments