[libcxx-commits] [libcxx] 15495be - [libc++][ci] Disable generating debug information.
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Dec 5 04:24:41 PST 2021
Author: Mark de Wever
Date: 2021-12-05T13:22:58+01:00
New Revision: 15495be014032339600cda7770d7bf45dfb10d54
URL: https://github.com/llvm/llvm-project/commit/15495be014032339600cda7770d7bf45dfb10d54
DIFF: https://github.com/llvm/llvm-project/commit/15495be014032339600cda7770d7bf45dfb10d54.diff
LOG: [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
Added:
Modified:
libcxx/utils/ci/run-buildbot
Removed:
################################################################################
diff --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index 5c5b1f9648598..1af4478a30c71 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" \
More information about the libcxx-commits
mailing list