From efe5744eb308642131637cf0f24bf01240598975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Tue, 3 Nov 2026 21:32:11 +0100 Subject: [PATCH] bazel: take sv-elab from the BCR, turn exact version pins into floors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The BCR now carries sv-elab 2026-10-29, six commits past the third-party/sv-elab submodule's 3e152133 (slang 12.1, fixed operand evaluation order, blackbox localparams). README's third-party rule puts a BCR module first and keeps submodules for real forks, so the submodule and its local_path_override go, and a plain bazel_dep replaces them. That also helps every module that depends on openroad: a local_path_override is ignored outside the root module, so a consumer had to write its own override for sv-elab and keep it on the submodule's commit by hand. sv-elab raises the floors on flex and readline, which moves bison to 3.8.2.bcr.13, and that needs rules_cc_autoconf 0.32.0 or later. The exact pins held for the gnulib/hermetic-llvm fixes no longer agree with each other, so they become what they were meant to be, floors: - rules_cc_autoconf, m4: the graph alone resolves above the pinned version (0.34.0, 1.4.21.bcr.8), so the pins go. - sed: no longer in the graph at all; the override did nothing. - gawk: the graph alone resolves 5.3.2.bcr.3, below the fix, so it becomes a direct bazel_dep at 5.4.0.bcr.2, as freetype already is, which also reaches downstream consumers. The bazel-lock and web-bundle workflows checked out submodules only because module resolution needed this one, so they no longer do. .bazelignore keeps third-party/sv-elab/ among the former submodules that git leaves behind in existing checkouts. Tested: bazel test //src/syn/... //:openroad (16/16 pass) and bazel build --nobuild //..., in a checkout without third-party/sv-elab. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_018PFLaEsHEYMYe38QpoJAPo Signed-off-by: Øyvind Harboe --- .bazelignore | 5 +- ...thub-actions-are-web-bundles-generated.yml | 4 -- .../github-actions-check-bazel-lock.yml | 4 -- .gitmodules | 3 -- MODULE.bazel | 50 ++++--------------- MODULE.bazel.lock | 48 ++++++++++++------ src/syn/test/elab_diag_test.cc | 6 +-- third-party/sv-elab | 1 - 8 files changed, 48 insertions(+), 73 deletions(-) delete mode 160000 third-party/sv-elab diff --git a/.bazelignore b/.bazelignore index c33eccd9b1a..4e44f2d0672 100644 --- a/.bazelignore +++ b/.bazelignore @@ -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/ diff --git a/.github/workflows/github-actions-are-web-bundles-generated.yml b/.github/workflows/github-actions-are-web-bundles-generated.yml index ec7d5580aca..c6c3be787bb 100644 --- a/.github/workflows/github-actions-are-web-bundles-generated.yml +++ b/.github/workflows/github-actions-are-web-bundles-generated.yml @@ -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. diff --git a/.github/workflows/github-actions-check-bazel-lock.yml b/.github/workflows/github-actions-check-bazel-lock.yml index c9ed442ce44..59564cc5452 100644 --- a/.github/workflows/github-actions-check-bazel-lock.yml +++ b/.github/workflows/github-actions-check-bazel-lock.yml @@ -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 diff --git a/.gitmodules b/.gitmodules index 16fc739f30e..76d153400ee 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/MODULE.bazel b/MODULE.bazel index a8bb428d123..7a746d6f906 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -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 , 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" @@ -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 @@ -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") @@ -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 diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 73fffaa1204..876e80a5a6b 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -122,7 +122,8 @@ "https://bcr.bazel.build/modules/bazel_skylib/1.9.0/MODULE.bazel": "72997b29dfd95c3fa0d0c48322d05590418edef451f8db8db5509c57875fb4b7", "https://bcr.bazel.build/modules/bazel_skylib/1.9.0/source.json": "7ad77c1e8c1b84222d9b3f3cae016a76639435744c19330b0b37c0a3c9da7dc0", "https://bcr.bazel.build/modules/bison/3.8.2.bcr.10/MODULE.bazel": "04ad2d99f5d0a5e715effd3094613686aa371cda0afd4921d8190491276d3462", - "https://bcr.bazel.build/modules/bison/3.8.2.bcr.10/source.json": "15a7035b49d0ce43418db4b55ae581773627738de78df1c3cc0cf93c6fd20ef4", + "https://bcr.bazel.build/modules/bison/3.8.2.bcr.13/MODULE.bazel": "6debb28b09c02073a0c91adaf7e752401673aa8cf8cd9be3ae8d3bcbf42cbd7c", + "https://bcr.bazel.build/modules/bison/3.8.2.bcr.13/source.json": "3995a8452d9eb742bf347371508bea091323831d296aeb33a10dd085b096f019", "https://bcr.bazel.build/modules/bison/3.8.2.bcr.5/MODULE.bazel": "96e976881e5670bdb2461157027ed6f3e25084b727aab6b7047210da9af7f678", "https://bcr.bazel.build/modules/bison/3.8.2.bcr.7/MODULE.bazel": "92dd6e702fb01134ff70c8d035ac437b68d79371bb1b0181cd78e8c1cf90af05", "https://bcr.bazel.build/modules/bliss/0.74/MODULE.bazel": "5ef2e19952cd8560ba4f4af8b4c7e9bd6d3741a6451f436bf98adcc939bc407d", @@ -447,8 +448,9 @@ "https://bcr.bazel.build/modules/envoy_api/0.0.0-20241214-918efc9/source.json": "212043ab69d87f7a04aa4f627f725b540cff5e145a3a31a9403d8b6ec2e920c9", "https://bcr.bazel.build/modules/fftw/3.3.10/MODULE.bazel": "f5bf023114131df33a72abf5f626e65e8a8322e5a013e6cc83de7daab0d760c2", "https://bcr.bazel.build/modules/fftw/3.3.10/source.json": "400646f2f2803d344ccea930c9d94cbf1819b5f361eda7ce91ffaa3933c5982d", + "https://bcr.bazel.build/modules/flex/2.6.4.bcr.10/MODULE.bazel": "2cdac4b6f39752485c79b6ac159e13546be2d4d488bd6a32d54bf754a29d8102", + "https://bcr.bazel.build/modules/flex/2.6.4.bcr.10/source.json": "470073570f551f0f005ef989712f34ef3eb4e5b45cb66045beb44521438206eb", "https://bcr.bazel.build/modules/flex/2.6.4.bcr.5/MODULE.bazel": "72575f9a1926e50e7a9c7a61a98394390c36a22f28ba16c7d94b51534cfb974c", - "https://bcr.bazel.build/modules/flex/2.6.4.bcr.5/source.json": "58ea819b72b59020743c12c11799624dcea18efcdbc4b3f0b470f43c7ea24d5e", "https://bcr.bazel.build/modules/fmt/11.1.3/MODULE.bazel": "3f422eb59fec5a54faf6d6c5b4cfbd173ad989e2ee5a2da944e19a39a8a90e00", "https://bcr.bazel.build/modules/fmt/11.2.0.bcr.1/MODULE.bazel": "3a90c5cfcb4650166bebc6dac8c4ebcfcbf629f5cfa36267e208dd65be886eec", "https://bcr.bazel.build/modules/fmt/12.1.0/MODULE.bazel": "c6b460c936f408b371bf12ccee5ecbd5aed8f6abfb6e8b63fad0c622715fd458", @@ -456,6 +458,9 @@ "https://bcr.bazel.build/modules/freetype/2.13.3.bcr.2/MODULE.bazel": "f942e7befffbf36f03c24e97a9348048851201a61414ae1e05c3dc3d4d9ffdde", "https://bcr.bazel.build/modules/freetype/2.13.3.bcr.2/source.json": "301d4bac02d42c48af017855dc612ae97feca419b78446758136f0c97c0601d2", "https://bcr.bazel.build/modules/freetype/2.13.3/MODULE.bazel": "9931a69ef01caba64cc7516c03c2c6c8ad0707526185d31eb81d2987163880e0", + "https://bcr.bazel.build/modules/gawk/5.3.2.bcr.1/MODULE.bazel": "cdf8cbe5ee750db04b78878c9633cc76e80dcf4416cbe982ac3a9222f80713c8", + "https://bcr.bazel.build/modules/gawk/5.3.2.bcr.2/MODULE.bazel": "ae318680f31d1960f1d102db3b7e04cfa6fb38ae9ba54319b6b9b104b49e7c65", + "https://bcr.bazel.build/modules/gawk/5.3.2.bcr.3/MODULE.bazel": "f1b7bb2dd53e8f2ef984b39485ec8a44e9076dda5c4b8efd2fb4c6a6e856a31d", "https://bcr.bazel.build/modules/gawk/5.4.0.bcr.2/MODULE.bazel": "258efb95b11dbff8795596bea2f251f68ddf1b1994a75c007e5636d754155318", "https://bcr.bazel.build/modules/gawk/5.4.0.bcr.2/source.json": "777247b251c864839abba93198012b3978caae70f7b3ff590d65e951c6afd501", "https://bcr.bazel.build/modules/gazelle/0.27.0/MODULE.bazel": "3446abd608295de6d90b4a8a118ed64a9ce11dcb3dda2dc3290a22056bd20996", @@ -544,12 +549,16 @@ "https://bcr.bazel.build/modules/llvm/0.8.11/MODULE.bazel": "0f8c30b74be64f0e91764e925d0f562c70e8d85b6cea912f724d6b3753d6a33f", "https://bcr.bazel.build/modules/llvm/0.8.24/MODULE.bazel": "e03e030b1d0b44bb05c52665c2f43de9260af9152f666262e11e25f6c072aae3", "https://bcr.bazel.build/modules/llvm/0.8.24/source.json": "924ed48858c1c081698f1992c7b489434375de901c47b7046e203459840cb544", + "https://bcr.bazel.build/modules/m4/1.4.20.bcr.4/MODULE.bazel": "582008fee330b47fe8db3e786cf78f05c926d2b37fcde0178316bbc5a717e096", "https://bcr.bazel.build/modules/m4/1.4.21.bcr.4/MODULE.bazel": "40fef4b9091aea8e97b76a5706b3490b8d731ba008b02a883751ee2abf84daf4", - "https://bcr.bazel.build/modules/m4/1.4.21.bcr.4/source.json": "c4add456cedd43c0c0d1329bd52120f8eedb6191c6d8299448bce1ed81be60a4", + "https://bcr.bazel.build/modules/m4/1.4.21.bcr.8/MODULE.bazel": "7cd23493c2a00a245d2fdf60cba14cec51633f01ddae74656da00b7f2651b9f8", + "https://bcr.bazel.build/modules/m4/1.4.21.bcr.8/source.json": "80f1e2066017fe93b10995c25c1c6f1316bdd405b3e3b4656b65db71f4c4fc9a", + "https://bcr.bazel.build/modules/m4/1.4.21/MODULE.bazel": "f0228f83067f5b7c3ecb5dd5269ca4337e935c31305e26d5a60a8876f6fc2620", "https://bcr.bazel.build/modules/mbedtls/3.6.0/MODULE.bazel": "8e380e4698107c5f8766264d4df92e36766248447858db28187151d884995a09", "https://bcr.bazel.build/modules/mbedtls/3.6.0/source.json": "1dbe7eb5258050afcc3806b9d43050f71c6f539ce0175535c670df606790b30c", "https://bcr.bazel.build/modules/ncurses/6.4.20221231.bcr.11/MODULE.bazel": "ef03f49137ca4abaf6648c795635abb21024d74e97822016cda9dc817e1418ae", - "https://bcr.bazel.build/modules/ncurses/6.4.20221231.bcr.11/source.json": "3119380662482b112a2f34769793785a10b3734f27f2bef6c778217745935efb", + "https://bcr.bazel.build/modules/ncurses/6.4.20221231.bcr.14/MODULE.bazel": "58ccd3f4ef83ef683cfe058c74f5e3439e40636a11e7f3e62fa4a19b9363e6c4", + "https://bcr.bazel.build/modules/ncurses/6.4.20221231.bcr.14/source.json": "d7456b6b71e6becf35e0baab4364cc639e25b5953acfa13eac6182074100a522", "https://bcr.bazel.build/modules/ncurses/6.4.20221231.bcr.9/MODULE.bazel": "95b2f3dcfb1d2ecaeea67293a10b654a08206414759a761e82fa59bdfe29d0dc", "https://bcr.bazel.build/modules/nlohmann_json/3.11.3/MODULE.bazel": "87023db2f55fc3a9949c7b08dc711fae4d4be339a80a99d04453c4bb3998eefc", "https://bcr.bazel.build/modules/nlohmann_json/3.12.0.bcr.1/MODULE.bazel": "a1c8bb07b5b91d971727c635f449d05623ac9608f6fe4f5f04254ea12f08e349", @@ -579,12 +588,13 @@ "https://bcr.bazel.build/modules/opentracing-cpp/1.6.0/source.json": "da1cb1add160f5e5074b7272e9db6fd8f1b3336c15032cd0a653af9d2f484aed", "https://bcr.bazel.build/modules/or-tools/9.15/MODULE.bazel": "8fbef0fbc8b0dd12feece54228b1cf8fc74bc20879715a4c6aa1dda0115ed6b1", "https://bcr.bazel.build/modules/or-tools/9.15/source.json": "02a81ec210d571aa98bf116a91a512c0dd2d8509ab64c30f113eb5674280ea31", + "https://bcr.bazel.build/modules/package_metadata/0.0.13/MODULE.bazel": "a9cc7e81640c1e7eaca5a465cdf4b63c88d416ca998fcded3680181b1602eee2", + "https://bcr.bazel.build/modules/package_metadata/0.0.13/source.json": "f488e4534468eac223f6417dfdf8d3b7299166d36536408d37c2493ca1e8539d", "https://bcr.bazel.build/modules/package_metadata/0.0.2/MODULE.bazel": "fb8d25550742674d63d7b250063d4580ca530499f045d70748b1b142081ebb92", "https://bcr.bazel.build/modules/package_metadata/0.0.3/MODULE.bazel": "77890552ecea9e284b5424c9de827a58099348763a4359e975c359a83d4faa83", "https://bcr.bazel.build/modules/package_metadata/0.0.5/MODULE.bazel": "ef4f9439e3270fdd6b9fd4dbc3d2f29d13888e44c529a1b243f7a31dfbc2e8e4", "https://bcr.bazel.build/modules/package_metadata/0.0.6/MODULE.bazel": "341dab6f417197494517d54c8e557c0baee1de7aec83543a4fbefe57900acb7e", "https://bcr.bazel.build/modules/package_metadata/0.0.7/MODULE.bazel": "7adb03933fc8401f495800cf4eafcff0edc6da0ff55c7db223ef69d19f689486", - "https://bcr.bazel.build/modules/package_metadata/0.0.7/source.json": "50639625e937b56115012674c797cca7a05a96b4878c87d803c13dc2b31de8a0", "https://bcr.bazel.build/modules/pcre2/10.43/MODULE.bazel": "08eaa025111bd0fedc14a8187c2905fa6ee4501fbe558193e9bf6cc3e2cdf23c", "https://bcr.bazel.build/modules/pcre2/10.46-DEV/MODULE.bazel": "c3c40175cd5e383f02bcfb2d484560461c5ef11e5d52bfc09c7398486c2cbaa6", "https://bcr.bazel.build/modules/pcre2/10.46-DEV/source.json": "7d4a1e758cbef4b68046813147f3b031ed06d226a6925d64079b8d8ecdb20008", @@ -654,7 +664,8 @@ "https://bcr.bazel.build/modules/re2/2025-11-05.bcr.1/source.json": "7df1394aabda1c9bc188a302f5d54b1c657924edd04ebc57d2be29dbd7efd141", "https://bcr.bazel.build/modules/readline/8.2.bcr.3/MODULE.bazel": "800b9efaba7e9d9fdd204f459601002adb4eac33b13c4760c9e16169bf2307a8", "https://bcr.bazel.build/modules/readline/8.3.bcr.1/MODULE.bazel": "38dea764ad0ba793af4e6da1a9b6839922a56fe6620a0b3c42d3f0ca8cb714a4", - "https://bcr.bazel.build/modules/readline/8.3.bcr.1/source.json": "a42bf1ff95df0203dc6f94c26ca86927bf6b2cb397b7888898666b9e57c37e78", + "https://bcr.bazel.build/modules/readline/8.3.bcr.3/MODULE.bazel": "f54b2ce9e53cbe6af416e4ebf7105a28ad04b2d1dcef163f3f44eca2373b5218", + "https://bcr.bazel.build/modules/readline/8.3.bcr.3/source.json": "c1e597f4a6e58e8d08ad11bf31299a400a201d6025b468c24330024e9e312f16", "https://bcr.bazel.build/modules/readline/8.3/MODULE.bazel": "60b0062649137ab4c8a3521fd2a6976bcc65f16a5344c55b9132c80b361ddafe", "https://bcr.bazel.build/modules/rules_android/0.1.1/MODULE.bazel": "48809ab0091b07ad0182defb787c4c5328bd3a278938415c00a7b69b50c4d3a8", "https://bcr.bazel.build/modules/rules_android/0.1.1/source.json": "e6986b41626ee10bdc864937ffb6d6bf275bb5b9c65120e6137d56e6331f089e", @@ -698,8 +709,14 @@ "https://bcr.bazel.build/modules/rules_cc/0.2.4/MODULE.bazel": "1ff1223dfd24f3ecf8f028446d4a27608aa43c3f41e346d22838a4223980b8cc", "https://bcr.bazel.build/modules/rules_cc/0.2.8/MODULE.bazel": "f1df20f0bf22c28192a794f29b501ee2018fa37a3862a1a2132ae2940a23a642", "https://bcr.bazel.build/modules/rules_cc/0.2.9/MODULE.bazel": "34263f1dca62ea664265438cef714d7db124c03e1ed55ebb4f1dc860164308d1", - "https://bcr.bazel.build/modules/rules_cc_autoconf/0.23.0/MODULE.bazel": "750b7386cb211d1fc65acc4dedf0bceb71db4730565feaae3c8832329f75b3a8", - "https://bcr.bazel.build/modules/rules_cc_autoconf/0.23.0/source.json": "9d0d81750146b4143a389020a53630fa90d73d1179c42a676d94630603e87ec9", + "https://bcr.bazel.build/modules/rules_cc_autoconf/0.10.0/MODULE.bazel": "1b289095784d6d4253b45de18e380ee5f5c179b35223ad067ae1b17d8a537429", + "https://bcr.bazel.build/modules/rules_cc_autoconf/0.13.2/MODULE.bazel": "3ec13b93183a28b7088563e0fef1a51835dde06c272a1dabc5900e8bc26b2188", + "https://bcr.bazel.build/modules/rules_cc_autoconf/0.19.0/MODULE.bazel": "7835352c9c5bab4e880ba098145c7f9267329ed03927ac70e96b6ebefc4f4cec", + "https://bcr.bazel.build/modules/rules_cc_autoconf/0.32.0/MODULE.bazel": "c1dc853a311d7bce7479c00041dd888c0e83f4435123ffec076bae7fd399e342", + "https://bcr.bazel.build/modules/rules_cc_autoconf/0.34.0/MODULE.bazel": "8685f278a75d6f1550fd4b2204592c2fe283b060b8854c2cecdda0fbe5825fb4", + "https://bcr.bazel.build/modules/rules_cc_autoconf/0.34.0/source.json": "32de3e23e83870662ebf73bb6eea0afc6729ab9b140ee447c50e757a71990fe4", + "https://bcr.bazel.build/modules/rules_cc_autoconf/0.7.15/MODULE.bazel": "0897d104c122e89a9a4e320b4f5b2c6fdded368052bc3e6c3d1f0728b4034187", + "https://bcr.bazel.build/modules/rules_cc_autoconf/0.9.0/MODULE.bazel": "cd81eb3ceb1e92326aa48c205937dcb79229222e1364c58166d0fdec27352c5d", "https://bcr.bazel.build/modules/rules_flex/0.4/MODULE.bazel": "543edf994d2c044f3d723374e50eaa739ed7ee9d82b8185adb8413bce269dcf3", "https://bcr.bazel.build/modules/rules_flex/0.4/source.json": "98bc56c2139b6ed6387dbabd06f625e82500bed8ba1689a5f4f3c9e8c3289f82", "https://bcr.bazel.build/modules/rules_foreign_cc/0.10.1/MODULE.bazel": "b9527010e5fef060af92b6724edb3691970a5b1f76f74b21d39f7d433641be60", @@ -838,8 +855,7 @@ "https://bcr.bazel.build/modules/rules_swift/3.1.2/source.json": "e85761f3098a6faf40b8187695e3de6d97944e98abd0d8ce579cb2daf6319a66", "https://bcr.bazel.build/modules/scip/9.2.3.bcr.1/MODULE.bazel": "ddb213a9c5dabdebe1c637d5617bfadf886876e674e651d12da1d3162ecd5549", "https://bcr.bazel.build/modules/scip/9.2.3.bcr.1/source.json": "f2a1712a3cc6b0a902145e25a0a1b5d1403fe6b01b42a98c45365561cb00b094", - "https://bcr.bazel.build/modules/sed/4.9.bcr.5/MODULE.bazel": "aa15eaf52261c9ead26a894939afe906511c9316970451a80806da73dbb2d1be", - "https://bcr.bazel.build/modules/sed/4.9.bcr.5/source.json": "a8f0b18e59882ed5a5c9293c960f5ffa01f14cec660fe4f997f77a61716f9d18", + "https://bcr.bazel.build/modules/sed/4.9.bcr.3/MODULE.bazel": "3aca45895b85b6ef65366cc12a45217ba6870f8931d2d62e09c99c772d9736ab", "https://bcr.bazel.build/modules/soplex/7.1.4.bcr.5/MODULE.bazel": "da872acabcdff13b8d7ff1dbd35b3c9b37d840ad0000d17650cac717127b55ed", "https://bcr.bazel.build/modules/soplex/7.1.4.bcr.5/source.json": "77830a85de193f9fe7559138189dfaeb2e894c2d90f8ef195b5c58347d4b5c17", "https://bcr.bazel.build/modules/spdlog/1.17.0/MODULE.bazel": "5d03b65eb8549f48dc888495c397b4053c8be095ea2e9c776d3c7aaaff3cd0d5", @@ -854,6 +870,8 @@ "https://bcr.bazel.build/modules/stardoc/0.7.1/MODULE.bazel": "3548faea4ee5dda5580f9af150e79d0f6aea934fc60c1cc50f4efdd9420759e7", "https://bcr.bazel.build/modules/stardoc/0.7.2/MODULE.bazel": "fc152419aa2ea0f51c29583fab1e8c99ddefd5b3778421845606ee628629e0e5", "https://bcr.bazel.build/modules/stardoc/0.7.2/source.json": "58b029e5e901d6802967754adf0a9056747e8176f017cfe3607c0851f4d42216", + "https://bcr.bazel.build/modules/sv-elab/2026-10-29/MODULE.bazel": "9eec8826cee3f049217b52f58a32e456a9eab2a37d6b9f82306c583d9df4e551", + "https://bcr.bazel.build/modules/sv-elab/2026-10-29/source.json": "7af354a5c88f2ac340f6d2c6078f6e074afc73296402adab0c780d666003d6fa", "https://bcr.bazel.build/modules/swift_argument_parser/1.3.1.1/MODULE.bazel": "5e463fbfba7b1701d957555ed45097d7f984211330106ccd1352c6e0af0dcf91", "https://bcr.bazel.build/modules/swift_argument_parser/1.3.1.2/MODULE.bazel": "75aab2373a4bbe2a1260b9bf2a1ebbdbf872d3bd36f80bff058dccd82e89422f", "https://bcr.bazel.build/modules/swift_argument_parser/1.3.1.2/source.json": "5fba48bbe0ba48761f9e9f75f92876cafb5d07c0ce059cc7a8027416de94a05b", @@ -2119,7 +2137,7 @@ "@@sv-elab+//:dependency_support/hashlib_ext.bzl%vendored_hashlib": { "general": { "bzlTransitiveDigest": "SP+gv2mU0cMAOAR54hdKthWQrOHJgeOz/Z9LBDNhfyk=", - "usagesDigest": "HBJkk1hT2GMzb1cvayMElOMslN2dSNvmOiraxLggqQ8=", + "usagesDigest": "skCfqOVWAivF9MUwNt4q4IO3tY0r6RYQWFfL5WrhQ7A=", "recordedInputs": [], "generatedRepoSpecs": { "vendored-hashlib": { @@ -2137,8 +2155,8 @@ }, "@@sv-elab+//:dependency_support/slang_ext.bzl%vendored_slang_extension": { "general": { - "bzlTransitiveDigest": "OFpoyYLFmLZ2ZV1Pq7/exiJ+L4etBUvUrnzVMeu+jIQ=", - "usagesDigest": "1uzqJB7u4iCnrMgahqCgwEqOogRnQ4kCxdYsr74aa8Q=", + "bzlTransitiveDigest": "nHPUpZ6HkF6RLv0qMuWX7bijUEaPmsbsWQOWUTZLJ+Q=", + "usagesDigest": "TB1zatF/tybR5vf8uXtL4e2EqxAfEBW9z1OftR5BkiI=", "recordedInputs": [ "REPO_MAPPING:sv-elab+,bazel_tools bazel_tools" ], @@ -2147,7 +2165,7 @@ "repoRuleId": "@@bazel_tools//tools/build_defs/repo:git.bzl%git_repository", "attributes": { "remote": "https://github.com/MikePopoloski/slang.git", - "commit": "545f88b2ed3a2d20325fbd17413af177a6bca72f", + "commit": "42710c788ce76cd08ce2080773e0b8286c428a05", "build_file": "@@sv-elab+//:dependency_support/slang.BUILD" } } @@ -2157,7 +2175,7 @@ "@@sv-elab+//:dependency_support/tomlplusplus_ext.bzl%tomlplusplus_ext": { "general": { "bzlTransitiveDigest": "2SZdzonzOVggvglSOxiJ9WOssG/HYK38ovmws7loigo=", - "usagesDigest": "BouhKGtoazjSlJPYVN+9cTbGJbxAIJWjHUkzyFTpers=", + "usagesDigest": "V8yFIfuWmaLiGS/0FiloBjB4m484dQxhAc+nmdZBc5s=", "recordedInputs": [ "REPO_MAPPING:sv-elab+,bazel_tools bazel_tools" ], diff --git a/src/syn/test/elab_diag_test.cc b/src/syn/test/elab_diag_test.cc index b03931e2b1a..14f9c688c16 100644 --- a/src/syn/test/elab_diag_test.cc +++ b/src/syn/test/elab_diag_test.cc @@ -6,9 +6,9 @@ // tests pin both halves: the SYN id the caller sees, and the message content // that locates the problem in the user's HDL. // -// The messages also name the file:line inside third-party/sv-elab/ that +// The messages also name the file:line inside the sv-elab module that // gave up. That part is deliberately not asserted on: it moves whenever the -// submodule does, and it is not what these tests are about. +// sv-elab version does, and it is not what these tests are about. #include #include @@ -81,7 +81,7 @@ TEST_F(ElabDiagTest, InternalErrorOnStatementHasSourceLocation) // The vendored frontend calls log_error() directly. The stub in log_stubs.h // routes it to utl::Logger instead of stderr+abort, which is what lets -// third-party/sv-elab/ stay unmodified. +// the sv-elab module stay unmodified. TEST_F(ElabDiagTest, FrontendLogErrorReachesTheLogger) { const std::string log = elaborateExpectingError( diff --git a/third-party/sv-elab b/third-party/sv-elab deleted file mode 160000 index 3e152133b9c..00000000000 --- a/third-party/sv-elab +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 3e152133b9c22b7883a6a03d483ed35e8c74aba5