Skip to content

V8 Bazel Build#15021

Merged
cconger merged 19 commits intomainfrom
v8-bazel-build
Mar 20, 2026
Merged

V8 Bazel Build#15021
cconger merged 19 commits intomainfrom
v8-bazel-build

Conversation

@cconger
Copy link
Copy Markdown
Contributor

@cconger cconger commented Mar 18, 2026

Alternative approach, we use rusty_v8 for all platforms that its predefined, but lets build from source a musl v8 version with bazel for x86 and aarch64 only. We would need to release this on github and then use the release.

Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 326cc7459b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

run: |
set -euo pipefail

if gh release view "${RELEASE_TAG}" > /dev/null 2>&1; then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Specify repository when checking existing release tag

The publish-release job runs gh release view without a checkout and without --repo/GH_REPO. In this job there is no local git remote context, so gh can fail to resolve the target repository and abort before publishing. Pass --repo "${GITHUB_REPOSITORY}" (or set GH_REPO) for a deterministic release check.

Useful? React with 👍 / 👎.

@cconger cconger force-pushed the v8-bazel-build branch 2 times, most recently from 16c0c54 to d282cad Compare March 19, 2026 06:55
v8_string(
name = "v8_enable_pointer_compression",
- default = "none",
+ default = "False",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As pointed out in other PRs I would like to revisit this.

@cconger cconger force-pushed the v8-bazel-build branch 2 times, most recently from d099210 to ec911b4 Compare March 19, 2026 20:29
cconger added 17 commits March 19, 2026 21:11
This is a new package that depends on rusty-v8 for embedding a v8
engine.  This builds and works on non-musl platforms now because
rusty-v8 provides versions for that.  But we mocked out the loading of
a musl built library.

TODO: iterate on providing the musl built version for musl-linux builds.
TODO: create a release workflow for publishing the artifact that rusty-v8 can link against
Remove codex-v8-poc from the release branch so CI can validate only the Bazel build and release machinery. Keep V8 version resolution working by falling back to MODULE.bazel when Cargo.lock no longer carries the v8 crate.
cconger added 2 commits March 19, 2026 22:56
Drop doc comment.
Assume buildbuddy always and common bazelci
@cconger cconger merged commit ded7854 into main Mar 20, 2026
96 of 99 checks passed
@cconger cconger deleted the v8-bazel-build branch March 20, 2026 01:05
@github-actions github-actions bot locked and limited conversation to collaborators Mar 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants