Skip to content

[codex] Select the V8 snapshot tool explicitly for cross-builds - #27324

Closed
anp-oai wants to merge 1 commit into
mainfrom
codex/release-rbe-04-v8-mksnapshot
Closed

[codex] Select the V8 snapshot tool explicitly for cross-builds#27324
anp-oai wants to merge 1 commit into
mainfrom
codex/release-rbe-04-v8-mksnapshot

Conversation

@anp-oai

@anp-oai anp-oai commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Why

A target-configured Windows mksnapshot binary cannot run on Linux remote executors, while Windows cross CI still needs the target-native generator because V8 snapshots embed target ABI details. Selecting the tool implicitly from the target OS cannot satisfy both environments.

What changed

Add a V8 build flag that explicitly selects the target-configured snapshot tool. Host-native mksnapshot remains the default for hermetic remote cross-builds, and the Windows cross CI configuration opts into the target tool while keeping the snapshot action local.

Validation

  • just bazel-lock-check

The complete remote release build is exercised by #27326.

Stack: 4 of 6. Depends on #27323.

@anp-oai
anp-oai force-pushed the codex/release-rbe-03-windows-arm64-powl branch from e7d6f45 to 79ed550 Compare June 10, 2026 19:38
@anp-oai
anp-oai force-pushed the codex/release-rbe-04-v8-mksnapshot branch 2 times, most recently from 049a9ef to 171ad25 Compare June 10, 2026 19:47
@anp-oai
anp-oai force-pushed the codex/release-rbe-03-windows-arm64-powl branch from 79ed550 to 0200748 Compare June 10, 2026 19:47
@anp-oai anp-oai changed the title [codex] Configure V8 snapshot tools for cross-builds [codex] Select the V8 snapshot tool explicitly for cross-builds Jun 10, 2026
@anp-oai
anp-oai force-pushed the codex/release-rbe-03-windows-arm64-powl branch from 0200748 to 0e53824 Compare June 11, 2026 01:06
@anp-oai
anp-oai force-pushed the codex/release-rbe-04-v8-mksnapshot branch 2 times, most recently from 095e6ea to c08fb4b Compare June 11, 2026 01:21
Base automatically changed from codex/release-rbe-03-windows-arm64-powl to main June 11, 2026 18:21
@anp-oai
anp-oai force-pushed the codex/release-rbe-04-v8-mksnapshot branch from c08fb4b to 6366a72 Compare June 11, 2026 18:24
@anp-oai anp-oai closed this Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant