Skip to content

[codex] Build all release targets with Bazel transitions - #27326

Closed
anp-oai wants to merge 1 commit into
codex/release-rbe-05-arm64-v8-builtinsfrom
codex/release-rbe-06-release-matrix
Closed

[codex] Build all release targets with Bazel transitions#27326
anp-oai wants to merge 1 commit into
codex/release-rbe-05-arm64-v8-builtinsfrom
codex/release-rbe-06-release-matrix

Conversation

@anp-oai

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

Copy link
Copy Markdown
Contributor

Why

just build-for-release must configure six target binaries from one aggregate target while remote execution is enabled. The previous platform_data wrapper only changed the target platform; source-built V8 also needs a matching v8_target_cpu, and the release Linux and Windows targets require constraints not present on the corresponding upstream LLVM platforms.

What changed

Replace the wrapper with a transition-based executable rule that sets both //command_line_option:platforms and V8’s target CPU for each binary. Add local Linux musl platforms with non-PIE constraints and Windows platforms with the windows_gnullvm ABI constraint. The macOS targets continue to use the upstream LLVM platforms directly.

The aggregate target still exposes the six named release artifacts through //codex-rs/cli:release_binaries.

Validation

  • just build-for-release

Stack: 6 of 6. Depends on #27325.

@anp-oai
anp-oai force-pushed the codex/release-rbe-06-release-matrix branch from e4e7963 to 61559c1 Compare June 10, 2026 19:38
@anp-oai
anp-oai force-pushed the codex/release-rbe-05-arm64-v8-builtins branch 2 times, most recently from 0aa36bd to 3c1b89b Compare June 10, 2026 19:47
@anp-oai
anp-oai force-pushed the codex/release-rbe-06-release-matrix branch from 61559c1 to 95e7133 Compare June 10, 2026 19:47
@anp-oai anp-oai changed the title [codex] Build the release matrix with Bazel transitions [codex] Build all release targets with Bazel transitions Jun 10, 2026
@anp-oai
anp-oai force-pushed the codex/release-rbe-05-arm64-v8-builtins branch from 3c1b89b to 3848fdc Compare June 11, 2026 01:06
@anp-oai
anp-oai force-pushed the codex/release-rbe-06-release-matrix branch from 95e7133 to 0eebcc9 Compare June 11, 2026 01:06
@anp-oai
anp-oai force-pushed the codex/release-rbe-05-arm64-v8-builtins branch from 3848fdc to c4f3f10 Compare June 11, 2026 01:21
@anp-oai
anp-oai force-pushed the codex/release-rbe-06-release-matrix branch from 0eebcc9 to 3805177 Compare June 11, 2026 01:21
@anp-oai
anp-oai force-pushed the codex/release-rbe-05-arm64-v8-builtins branch from c4f3f10 to e3cc080 Compare June 11, 2026 18:24
@anp-oai
anp-oai force-pushed the codex/release-rbe-06-release-matrix branch from 3805177 to 1f27198 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