From 15495be014032339600cda7770d7bf45dfb10d54 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sun, 5 Dec 2021 13:22:58 +0100 Subject: [PATCH] [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 --- libcxx/utils/ci/run-buildbot | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot index 5c5b1f964859..1af4478a30c7 100755 --- a/libcxx/utils/ci/run-buildbot +++ b/libcxx/utils/ci/run-buildbot @@ -460,11 +460,14 @@ bootstrapping-build) # because that provides coverage for some specific Clang failures # we've been seeing recently, however it would be better to instead # run all CI configurations against a Clang that has assertions enabled. + # + # The generation of debug information is disabled since that causes an ICE. + # llvm.org/PR52584 ${CMAKE} \ -S "${MONOREPO_ROOT}/llvm" \ -B "${BUILD_DIR}" \ -GNinja -DCMAKE_MAKE_PROGRAM="${NINJA}" \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" \ -DLLVM_ENABLE_PROJECTS="clang" \ -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \