Skip to content

Commit 808f638

Browse files
authored
[ci] set up llvm-symbolizer environment variable (#136156)
Set up llvm-symbolizer environment variable so that its preferred over any symbolizer just built, as it can be much slower when built for debugging.
1 parent 15ea45b commit 808f638

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: .ci/monolithic-linux.sh

+5
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ export PIP_BREAK_SYSTEM_PACKAGES=1
5858
pip install -q -r "${MONOREPO_ROOT}"/mlir/python/requirements.txt
5959
pip install -q -r "${MONOREPO_ROOT}"/lldb/test/requirements.txt
6060
pip install -q -r "${MONOREPO_ROOT}"/.ci/requirements.txt
61+
62+
# Set the system llvm-symbolizer as preferred.
63+
export LLVM_SYMBOLIZER_PATH=`which llvm-symbolizer`
64+
[[ ! -f "${LLVM_SYMBOLIZER_PATH}" ]] && echo "llvm-symbolizer not found!"
65+
6166
cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
6267
-D LLVM_ENABLE_PROJECTS="${projects}" \
6368
-G Ninja \

0 commit comments

Comments
 (0)