[PATCH] D143678: [bazel] Add layering-check on CI

Guillaume Chatelet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 10 03:48:02 PST 2023


gchatelet updated this revision to Diff 496413.
gchatelet added a comment.

rebase and move layering check as a global option


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143678/new/

https://reviews.llvm.org/D143678

Files:
  utils/bazel/.bazelrc


Index: utils/bazel/.bazelrc
===================================================================
--- utils/bazel/.bazelrc
+++ utils/bazel/.bazelrc
@@ -22,6 +22,9 @@
 # based on compilation_mode.
 build --strip=never
 
+# Adds layering check to all projects.
+build --features=layering_check
+
 ###############################################################################
 # Options to select different strategies for linking potential dependent
 # libraries. The default leaves it disabled.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143678.496413.patch
Type: text/x-patch
Size: 493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230210/5ef9756b/attachment.bin>


More information about the llvm-commits mailing list