mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
ci: Use codex produced v8 artifacts for release builds (#23934)
Updates our build script to pull down the artifacts like we do in CI for building v8 into our targets. This changes the flow so that we now pre-install rusty v8 assets for all of our release targets from pre-built in workflow. Secondarily if running it locally we now optionally pull the assets down on python run assuming the user hasn't set the proper values, it then provides them. Sorry for the miss here.
This commit is contained in:
committed by
GitHub
Unverified
parent
932f72c225
commit
014f19af5f
@@ -55,6 +55,13 @@ corresponding resource flags: `--bwrap-bin` for Linux packages, and
|
||||
Windows packages. This keeps package archive creation as a pure staging step
|
||||
after signing instead of rebuilding resources.
|
||||
|
||||
When the builder source-builds an entrypoint for a Darwin or Linux target, it
|
||||
downloads and verifies the matching Codex-built V8 release pair before invoking
|
||||
Cargo and sets `RUSTY_V8_ARCHIVE` plus `RUSTY_V8_SRC_BINDING_PATH` for that
|
||||
build. Windows targets keep Cargo's release-build MSVC artifact path. Explicit
|
||||
overrides remain authoritative when both variables are already set. Set
|
||||
`V8_FROM_SOURCE=1` to leave the build with the `v8` crate source-build path.
|
||||
|
||||
`rg` is not built from this repository, so the builder fetches it from the
|
||||
DotSlash manifest at `scripts/codex_package/rg`. Downloaded archives are cached
|
||||
under `$TMPDIR/codex-package/<target>-rg` and are reused only after the recorded
|
||||
|
||||
Reference in New Issue
Block a user