From dea068f9aa339da8ec9c256e77e619634d8789a0 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Fri, 15 May 2026 09:25:52 +0200 Subject: [PATCH 1/2] Version.hh is supplied by :openroad_version; don't duplicate in :ord Signed-off-by: Henner Zeller --- BUILD.bazel | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BUILD.bazel b/BUILD.bazel index 997143ed97..7279354602 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -252,7 +252,6 @@ cc_library( "include/ord/OpenRoad.hh", "include/ord/Tech.h", "include/ord/Timing.h", - "include/ord/Version.hh", ], includes = [ "include", @@ -270,6 +269,9 @@ cc_library( hdrs = [ ":OpenRoadVersion", ], + includes = [ + "include", + ], ) genrule( From 43d875030636c0b22d644339045264c93c6a55ff Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Fri, 15 May 2026 09:49:16 +0200 Subject: [PATCH 2/2] Tighten the exported header include visibility. The `-Iinclude/ord` was not needed and unnecessarily allowed these headers to be included without any prefix. Signed-off-by: Henner Zeller --- BUILD.bazel | 1 - 1 file changed, 1 deletion(-) diff --git a/BUILD.bazel b/BUILD.bazel index 7279354602..658f0d2cbc 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -255,7 +255,6 @@ cc_library( ], includes = [ "include", - "include/ord", ], visibility = ["//:__subpackages__"], deps = [