-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building and running Bazel on SiFive's 64bit RISC-V hardware (OpenJDK 11/Eclipse OpenJ9) #12800
Comments
Some information about the JDK:
|
In order for Bazel to support RISC-V, the next step is to auto-detect the platform correctly. The failure you are seeing is:
I think the auto-detection code is in |
Thanks, will check that |
@advancedwebdeveloper I tried just adding a constraint to the cpu listing and I'm not getting this error anymore on Debian. That's probably an overly-simplistic solution but it's likely a step in the right direction. More info on #12683. |
Looks like the current summary is as follows: https://github.com/bazelbuild/bazel/blob/master/src/main/java/com/google/devtools/build/lib/util/OsUtils.java This
looks like some form of override. |
I suspect that bazel/src/main/java/com/google/devtools/build/lib/rules/cpp/CcToolchainSuite.java Line 129 in 4ed65b0
|
@philwo should this just be merged into #12683? Once @meteorcloudy's PR is accepted there, I believe that this issue will be resolved as well. |
Yeah, this can be closed as it's a duplicate of #12683 |
I decided to initiate a proposal, for 64bit RISC-V port.
Hence that this issues is not covering any emulation, like under Qemu - this is for real hardware, which could be ASIC or FPGA chips.
So here is what I got, on one of SiFive's boards:
Here is the information about 4 available cores:
. Currently operating on
The text was updated successfully, but these errors were encountered: