Skip to content

Commit 15495be

Browse files
committed
[libc++][ci] Disable generating debug information.
In the bootstrap build generating debug information causes an ICE. This is a work-around for llvm.org/PR52584
1 parent 7c3c352 commit 15495be

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

libcxx/utils/ci/run-buildbot

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,11 +460,14 @@ bootstrapping-build)
460460
# because that provides coverage for some specific Clang failures
461461
# we've been seeing recently, however it would be better to instead
462462
# run all CI configurations against a Clang that has assertions enabled.
463+
#
464+
# The generation of debug information is disabled since that causes an ICE.
465+
# llvm.org/PR52584
463466
${CMAKE} \
464467
-S "${MONOREPO_ROOT}/llvm" \
465468
-B "${BUILD_DIR}" \
466469
-GNinja -DCMAKE_MAKE_PROGRAM="${NINJA}" \
467-
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
470+
-DCMAKE_BUILD_TYPE=Release \
468471
-DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" \
469472
-DLLVM_ENABLE_PROJECTS="clang" \
470473
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \

0 commit comments

Comments
 (0)