[libcxx-commits] [libcxx] f2b376f - [libc++] Disable modules with the bootstrapping build
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Mar 21 07:10:06 PDT 2022
Author: Louis Dionne
Date: 2022-03-21T10:09:57-04:00
New Revision: f2b376f06bfbde61eea9760de386edef091dd7cd
URL: https://github.com/llvm/llvm-project/commit/f2b376f06bfbde61eea9760de386edef091dd7cd
DIFF: https://github.com/llvm/llvm-project/commit/f2b376f06bfbde61eea9760de386edef091dd7cd.diff
LOG: [libc++] Disable modules with the bootstrapping build
It turns out that we had never been enabling it anyways, since the
LIBCXX_TEST_PARAMS parameter was not being passed from the bootstrapping
build to the libc++ and libc++abi builds. Furthermore, it looks like the
per-target include directories used by the bootstrapping build by default
are incompatible with our current modulemap, since __config_site doesn't
live in the directory that our modulemap claims.
This disables modules in our bootstrapping CI job to unblock D121822,
but we should work on fixing the underlying issue once we're able to
pass those configuration options to our bootstrapping build.
Added:
Modified:
libcxx/utils/ci/run-buildbot
Removed:
################################################################################
diff --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index 35651ec2f5221..5c5fc8fed0f03 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -450,10 +450,6 @@ bootstrapping-build)
clean
echo "--- Generating CMake"
- # TODO: We currently enable modules and assertions in the 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.
${CMAKE} \
-S "${MONOREPO_ROOT}/llvm" \
-B "${BUILD_DIR}" \
@@ -466,7 +462,6 @@ bootstrapping-build)
-DLLVM_TARGETS_TO_BUILD="host" \
-DRUNTIMES_BUILD_ALLOW_DARWIN=ON \
-DLLVM_ENABLE_ASSERTIONS=ON \
- -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-modules.cmake" \
-DRUNTIMES_LIBUNWIND_TEST_CONFIG="llvm-libunwind-shared.cfg.in"
echo "+++ Running the libc++ and libc++abi tests"
More information about the libcxx-commits
mailing list