Skip to content

Commit

Permalink
[libc++][hardening] Make the safe mode pipeline run with modules enabled
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D159065
  • Loading branch information
var-const committed Sep 13, 2023
1 parent edecb60 commit 9d9a41e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions libcxx/cmake/caches/Generic-safe-mode.cmake
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
set(LIBCXX_ENABLE_STD_MODULES ON CACHE BOOL "") # TODO MODULES Remove when enabled automatically.
set(LIBCXX_HARDENING_MODE "safe" CACHE STRING "")
7 changes: 5 additions & 2 deletions libcxx/utils/ci/buildkite-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,11 @@ steps:
- "**/test-results.xml"
- "**/*.abilist"
env:
CC: "clang-${LLVM_HEAD_VERSION}"
CXX: "clang++-${LLVM_HEAD_VERSION}"
# Note: Modules require an absolute path for `clang-scan-deps` (see
# https://github.com/llvm/llvm-project/issues/61006).
CC: "/usr/lib/llvm-${LLVM_HEAD_VERSION}/bin/clang"
CXX: "/usr/lib/llvm-${LLVM_HEAD_VERSION}/bin/clang++"
CMAKE: "/opt/bin/cmake"
ENABLE_CLANG_TIDY: "On"
agents:
queue: "libcxx-builders"
Expand Down

0 comments on commit 9d9a41e

Please sign in to comment.