Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .bazelignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,10 @@ src/sta/debug/
# existing checkouts and reused CI runners; Bazel takes these from MODULE.bazel.
third-party/abc/
third-party/lemon/
third-party/sv-elab/

# standalone workspace for downstream consumer tests
test/downstream/

# Prevent //... from walking into sv-elab as its BUILD files expect
# sv-elab is the root
third-party/sv-elab/

# Other things to ignore
tmp/
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# MODULE.bazel overrides sv-elab to the third-party/sv-elab
# submodule, so module resolution needs it checked out.
submodules: recursive
- name: Set up bazel
# Self-hosted runners do not preinstall bazelisk; the clang-tidy
# workflow sets it up the same way.
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/github-actions-check-bazel-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# MODULE.bazel overrides sv-elab to the third-party/sv-elab
# submodule, so module resolution needs it checked out.
submodules: 'recursive'

- name: Set up bazel
uses: bazel-contrib/setup-bazel@104e3eea9447cdaa4b00d0fb46191a3985d26ab3 # 0.19.1
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "module/OpenSTA"]
path = src/sta
url = ../../The-OpenROAD-Project/OpenSTA.git
[submodule "third-party/sv-elab"]
path = third-party/sv-elab
url = ../../povik/sv-elab.git
50 changes: 11 additions & 39 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,6 @@ bazel_dep(name = "rules_license", version = "1.0.0")
bazel_dep(name = "rules_shell", version = "0.6.1")
bazel_dep(name = "swig", version = "4.3.0.bcr.2")

# rules_cc_autoconf is transitive (bison, flex, m4, gawk, readline). Its
# checker uses std::back_inserter without <iterator>, which libc++ 23 no
# longer pulls in transitively; 0.23.0 adds the include.
single_version_override(
module_name = "rules_cc_autoconf",
version = "0.23.0",
)

BOOST_VERSION = "1.89.0.bcr.2"

BOOST_CONTEXT_VERSION = "1.89.0.bcr.3"
Expand Down Expand Up @@ -149,14 +141,13 @@ single_version_override(
version = "76.1.bcr.3",
)

# gawk is transitive (abc -> ncurses -> gawk; yosys -> gawk). Same gnulib
# libc-header shadowing as sed: gawk@5.3.2.bcr.2 fails to compile against
# hermetic-llvm's explicit libc -isystem entries.
single_version_override(
module_name = "gawk",
version = "5.4.0.bcr.2",
)

# gawk is transitive (abc -> ncurses -> gawk). Its vendored gnulib headers
# shadow libc headers, and gawk@5.3.2.bcr.2 fails to compile against
# hermetic-llvm's explicit libc -isystem entries (BCR #7642); the graph
# alone resolves 5.3.2.bcr.3. A direct bazel_dep rather than a
# single_version_override, so the floor reaches downstream consumers via
# MVS too (overrides only apply in the root module).
bazel_dep(name = "gawk", version = "5.4.0.bcr.2")
bazel_dep(name = "git", version = "2.54.0")

# We enable the external_include_paths feature globally (see .bazelrc), which
Expand All @@ -174,31 +165,18 @@ single_version_override(
)

bazel_dep(name = "googletest", version = "1.17.0.bcr.2")

# m4 is transitive (bison/rules_flex -> m4). Same gnulib libc-header
# shadowing class as sed/gawk under hermetic-llvm (BCR #7642).
single_version_override(
module_name = "m4",
version = "1.4.21.bcr.4",
)

bazel_dep(name = "libdeflate", version = "1.26")
bazel_dep(name = "openmp", version = "21.1.5.bcr.2")
bazel_dep(name = "or-tools", version = "9.15")

# sed is transitive (abc -> ncurses -> sed). Its vendored gnulib headers
# deliberately shadow libc headers (stdio.h, error.h); hermetic-llvm's
# explicit libc -isystem entries outrank them and sed@4.9.bcr.3 fails to
# compile (BCR #7642). 4.9.bcr.5 carries the upstream fix (BCR #7915).
single_version_override(
module_name = "sed",
version = "4.9.bcr.5",
)

# spdlog < 1.16.0.bcr.2's BUILD.bazel calls the native cc_test rule, which
# Bazel 9 removed; loading the package fails. 1.16.0.bcr.2+ loads cc_test
# from @rules_cc.
bazel_dep(name = "spdlog", version = "1.17.0")

# sv-elab: the SystemVerilog frontend whose sources src/syn/src/elab
# compiles, from the BCR like every dependency that is not a fork.
bazel_dep(name = "sv-elab", version = "2026-10-29")
bazel_dep(name = "tcl_lang", version = "9.0.2.bcr.2")
bazel_dep(name = "tcmalloc", version = "0.0.0-20250927-12f2552")
bazel_dep(name = "yaml-cpp", version = "0.9.0")
Expand Down Expand Up @@ -453,12 +431,6 @@ use_repo(npm, "npm")

http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

bazel_dep(name = "sv-elab", version = "2026-10-13")
local_path_override(
module_name = "sv-elab",
path = "third-party/sv-elab",
)

# --- pandoc for macOS arm64 (used by //docs:man_pages) ---
#
# The macosx_11_0_arm64 wheel of pypandoc-binary (1.16 through 1.17) ships
Expand Down
Loading
Loading