Explicitly mark dependencies as keep for bracket-headers used.

This project uses bracket includes for dependencies that are
actually vendored via the MODULE.bazel.
So they should use `"zlib.h"`, `"tcl.h"` etc, but here they
use `<zlib.h>`, `<tcl.h>` which makes them look like system headers.

They are meant to be using the vendored headers, to explicitly tell
build_cleaner (`bant`) that the dependencies should be kept.
(ideally, we fix the includes, but since this is a fork, this might
be harder to maintain).

Also keeps `@openmp` for now, but see #364 if this is actually
needed.

Signed-off-by: Henner Zeller <h.zeller@acm.org>
This commit is contained in:
Henner Zeller 2026-05-25 19:21:05 +02:00
parent 8575070292
commit 224907d153
1 changed files with 4 additions and 4 deletions

8
BUILD
View File

@ -396,11 +396,11 @@ cc_library(
visibility = ["//:__subpackages__"],
deps = [
"@cudd",
"@eigen",
"@openmp",
"@eigen", # keep. Is used, but with <>-includes
"@openmp", # keep. Is needed ? Nobody includes omp.h
"@rules_flex//flex:current_flex_toolchain",
"@tcl_lang//:tcl",
"@zlib",
"@tcl_lang//:tcl", # keep. Is used, but with <>-includes
"@zlib", # keep. Is used, but with <>-includes
],
)