Repository navigation
bazel_9: init at 9.0.1 - #476183
bazel_9: init at 9.0.1#476183
Conversation
a5fa485 to
0d4b7ff
Compare
5911ec7 to
ae9f664
Compare
|
@boltzmannrain I think this is ready now. Are you able to review, please? |
boltzmannrain
left a comment
There was a problem hiding this comment.
Now builds for me on macos with sandbox=true too 👍
|
Small note: bazel 9.0.1 is available now https://github.com/bazelbuild/bazel/releases/tag/9.0.1 |
|
I don't really understand this In this command: I am fairly sure that neither of these worktrees ( |
|
I guess this is #499751 in action. Can we just ignore the |
This is almost the same as bazel_8. The differences are: * Extra args for Darwin are passed by environment variable, since Bazel 9 is stricter about preventing include flags reaching outside the repository. * The Java test is switched to vendor mode, to apply fixups to ijar. * Various patch changes due to upstreaming and churn. * --spawn_strategy=local passed for tests on Darwin, otherwise they fail due to nested sandboxing (this seems to be the case for bazel_8 as well). * --repo_contents_cache= passed for FOD generation. This is the old Bazel 8 default, and prevents an error because the contents cache is not allowed to be within the repository. * Disabled universal binaries in protobuf on Darwin. This breaks the build when sandboxed. * Patched out '/usr/bin/env bash' in generate_system_module_map.sh in tests, as this breaks under Darwin sandbox.
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
|
@NixOS/bazel team, ready to merge ? |
|
What's the difference between I'm only member of one of them and would like to see this PR merged |
|
Hmm, is there anywhere else I should follow up to get the attention of a committer? Already tried the discourse thread. |
|
I quickly checked but I trust the people that have looked closer. |
Bazel 9 is now released, and has a number of exciting features (for instance C++20 modules).
This is substantially similar to the Bazel 8 package, with the following differences:
This effectively includes #464436, as
generate-xml.shfails when running tests without it.Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.