mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +00:00
fix(bazel): fix simdutf (#16925)
## Summary This changes our V8 Bazel wiring so `simdutf` no longer comes from a live `git_repository` fetch against Chromium's Googlesource host. Instead, we pull `simdutf` from a pinned GitHub release archive and keep the V8 `simdutf` target wired through the external repo. The archive-backed target is set up to match the way V8 consumes `simdutf` today, including the amalgamated `src/simdutf.cpp` entrypoint and the internal files it includes. ## Why CI was intermittently failing while Bazel tried to fetch: `https://chromium.googlesource.com/chromium/src/third_party/simdutf/` That fetch was returning HTTP 429s, which then fan out into failures in the Bazel jobs, the SDK job, and the argument-comment lint jobs since they all go through the same dependency resolution path. ## What changed - replaced the `simdutf` `git_repository` in the patched V8 module deps with a pinned `http_archive` - pointed that archive at `simdutf` `v7.7.0` on GitHub - added the archive hash so the fetch is deterministic - kept the V8 BUILD patch pointing `:simdutf` at the external `@simdutf//:simdutf` target - configured the Bazel `cc_library` for the archive to use the amalgamated `src/simdutf.cpp` source plus the internal headers / textual includes it depends on ## Validation - ran `bazel build @v8//:simdutf` - confirmed the target builds successfully with the new archive-backed wiring
This commit is contained in:
1 parent
ded559680d
commit
2b4cc221df
2 files changed
+7
-7
No files matched your search
@@ -191,7 +191,6 @@ index 85f31b7..7314584 100644
|
||||
+ actual = "@simdutf//:simdutf",
|
||||
)
|
||||
|
||||
v8_library(
|
||||
@@ -4593,7 +4598,7 @@ v8_library(
|
||||
copts = ["-Wno-implicit-fallthrough"],
|
||||
icu_deps = [
|
||||
|
||||
Reference in new issue
Block a user