[PATCH] D143678: [bazel] Add layering-check on CI
Guillaume Chatelet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 9 13:40:31 PST 2023
gchatelet created this revision.
gchatelet added reviewers: MaskRay, GMNGeoffrey, rupprecht.
Herald added a project: All.
gchatelet requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
In the same vein as https://reviews.llvm.org/D141553
Enable the feature on CI to ensure layering and catch circular dependencies
(https://llvm.org/docs/CodingStandards.html#library-layering).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D143678
Files:
utils/bazel/.bazelrc
Index: utils/bazel/.bazelrc
===================================================================
--- utils/bazel/.bazelrc
+++ utils/bazel/.bazelrc
@@ -183,6 +183,9 @@
# Show test errors.
build:ci --test_output=errors
+# Adds layering check to all projects.
+build:ci --features=layering_check
+
###############################################################################
# The user.bazelrc file is not checked in but available for local mods.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143678.496227.patch
Type: text/x-patch
Size: 454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230209/08e65d06/attachment.bin>
More information about the llvm-commits
mailing list