[bazel] fix layering check to run bazel with 16.x
authorMikhail Goncharov <goncharov.mikhail@gmail.com>
Tue, 18 Jul 2023 20:05:14 +0000 (22:05 +0200)
committerMikhail Goncharov <goncharov.mikhail@gmail.com>
Tue, 18 Jul 2023 20:05:14 +0000 (22:05 +0200)
commit5bba1763663b29cacdae253825b5955a014ef022
tree638bbafcb55ba9bb983d05efefaa6f9f0e2999c4
parent8e6482115c242543471efabf7fd82338f76ddd04
[bazel] fix layering check to run bazel with 16.x

Preparation to update bazel builder to use LLVM 16 release
where layering check was enabled https://reviews.llvm.org/D132779

Current setup missed some backsliding in layering check as it has
only on for projects with the check enforced.

Disabled it completely for libc and fixed for DWARFLinkerParallel.
It would be great to re-enable it for libc later.
utils/bazel/llvm-project-overlay/libc/BUILD.bazel
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel