Skip to content

[7.x] Add JDK 21 toolchain for linux_riscv64#282

Merged
hvadehra merged 2 commits intobazelbuild:release-7.xfrom
kxxt:rv-7.x
Mar 25, 2025
Merged

[7.x] Add JDK 21 toolchain for linux_riscv64#282
hvadehra merged 2 commits intobazelbuild:release-7.xfrom
kxxt:rv-7.x

Conversation

@kxxt
Copy link
Contributor

@kxxt kxxt commented Mar 25, 2025

This is a cherry-pick of #258 into 7.x.

A new release would be appreciated as building bazel 7.x on riscv64 would require this.

Copybara Import from bazelbuild#258

BEGIN_PUBLIC
Add JDK 21 toolchain for `linux_riscv64` (bazelbuild#258)

A Googler will need to help add the mirror for Adoptium Temurin's 21.0.4+7 JDK release for `linux_riscv64`
* https://bazel.googlesource.com/continuous-integration/+/refs/heads/master/docs/mirror.md

Closes bazelbuild#258
END_PUBLIC

COPYBARA_INTEGRATE_REVIEW=bazelbuild#258 from JackWolfard:jdk21-riscv64 4df051d
PiperOrigin-RevId: 713668463
Change-Id: I2b7f15bcef430654077df27475dedd4453a1d9ce
@kxxt kxxt requested review from a team and comius as code owners March 25, 2025 10:40
@hvadehra hvadehra requested review from hvadehra and removed request for a team and comius March 25, 2025 11:59
@hvadehra
Copy link
Member

Could you please also change the buildifier version from latest to 7.3.1 here to fix CI? Otherwise LGTM.

@kxxt
Copy link
Contributor Author

kxxt commented Mar 25, 2025

Could you please also change the buildifier version from latest to 7.3.1 here to fix CI? Otherwise LGTM.

Thanks for the pointer! I have updated it.

@hvadehra hvadehra merged commit 5bc7c03 into bazelbuild:release-7.x Mar 25, 2025
12 checks passed
@hvadehra
Copy link
Member

kxxt added a commit to kxxt/bazel that referenced this pull request Mar 26, 2025
This patch brings enough support for bootstraping bazel itself on
riscv64 linux platform.

Changes:

* Bump rules_java for bazelbuild/rules_java#282
  bazelbuild/rules_java#198
* Use portable `uname -m` in mininize_jdk.sh
* Add prebuilt jdk for riscv64

Tested on riscv 64 linux by `bazel build //src:bazel --compilation_mode=opt`
kxxt added a commit to kxxt/bazel that referenced this pull request Mar 26, 2025
This patch brings enough support for bootstraping bazel itself on
riscv64 linux platform.

Changes:

* Bump rules_java for bazelbuild/rules_java#282
  bazelbuild/rules_java#198
* Use portable `uname -m` in mininize_jdk.sh
* Add prebuilt jdk for riscv64

Tested on riscv 64 linux by `bazel build //src:bazel --compilation_mode=opt`
kxxt added a commit to kxxt/bazel that referenced this pull request Mar 26, 2025
This patch brings enough support for bootstraping bazel itself on
riscv64 linux platform.

Changes:

* Bump rules_java for bazelbuild/rules_java#282
  bazelbuild/rules_java#198
* Bump stardoc to 0.7.1 and rules_jvm_external to 6.1 to fix CI failure
* Use portable `uname -m` in mininize_jdk.sh
* Add prebuilt jdk for riscv64

Tested on riscv 64 linux by `bazel build //src:bazel --compilation_mode=opt`
kxxt added a commit to kxxt/bazel that referenced this pull request Mar 28, 2025
This patch brings enough support for bootstraping bazel itself on
riscv64 linux platform.

Changes:

* Bump rules_java for bazelbuild/rules_java#282
  bazelbuild/rules_java#198
* Bump stardoc to 0.7.1 and rules_jvm_external to 6.1 to fix CI failure
* Use portable `uname -m` in mininize_jdk.sh
* Add prebuilt jdk for riscv64
* Bump abseil-cpp for abseil/abseil-cpp#1644

Tested on riscv 64 linux by `bazel build //src:bazel --compilation_mode=opt`
kxxt added a commit to kxxt/bazel that referenced this pull request Mar 31, 2025
This patch brings enough support for bootstraping bazel itself on
riscv64 linux platform.

Changes:

* Bump rules_java for bazelbuild/rules_java#282
  bazelbuild/rules_java#198
* Bump stardoc to 0.7.1 and rules_jvm_external to 6.2 to fix CI failure
* Use portable `uname -m` in mininize_jdk.sh
* Add prebuilt jdk for riscv64
* Bump abseil-cpp for abseil/abseil-cpp#1644

Tested on riscv 64 linux by `bazel build //src:bazel --compilation_mode=opt`
kxxt added a commit to kxxt/bazel that referenced this pull request Mar 31, 2025
This patch brings enough support for bootstraping bazel itself on
riscv64 linux platform.

Changes:

* Bump rules_java for bazelbuild/rules_java#282
  bazelbuild/rules_java#198
* Bump stardoc to 0.7.1 and rules_jvm_external to 6.2 to fix CI failure
* Use portable `uname -m` in mininize_jdk.sh
* Add prebuilt jdk for riscv64
* Bump abseil-cpp for abseil/abseil-cpp#1644

Tested on riscv 64 linux by `bazel build //src:bazel --compilation_mode=opt`
kxxt added a commit to kxxt/bazel that referenced this pull request Sep 17, 2025
This patch brings enough support for bootstraping bazel itself on
riscv64 linux platform.

Changes:

* Bump rules_java for bazelbuild/rules_java#282
  bazelbuild/rules_java#198
* Bump stardoc to 0.7.1 and rules_jvm_external to 6.2 to fix CI failure
* Use portable `uname -m` in mininize_jdk.sh
* Add prebuilt jdk for riscv64
* Bump abseil-cpp for abseil/abseil-cpp#1644

Tested on riscv 64 linux by `bazel build //src:bazel --compilation_mode=opt`
IgnotaYun pushed a commit to IgnotaYun/bazel that referenced this pull request Oct 15, 2025
This patch brings enough support for bootstraping bazel itself on
riscv64 linux platform.

Changes:

* Bump rules_java for bazelbuild/rules_java#282
  bazelbuild/rules_java#198
* Bump stardoc to 0.7.1 and rules_jvm_external to 6.1 to fix CI failure
* Use portable `uname -m` in mininize_jdk.sh
* Add prebuilt jdk for riscv64
* Bump abseil-cpp for abseil/abseil-cpp#1644

Tested on riscv 64 linux by `bazel build //src:bazel --compilation_mode=opt`
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.

3 participants