Closed luhenry closed 1 year ago
Thanks for the PR, @luhenry. I realized #62 is already filed by @zinovya. Let me merge his PR after adding support for riscv32
to it. One differnce is that riscv64
will be detected as riscv64
instead of riscv
, because otherwise it will break the consistency, e.g. x86_32
vs x86_64
.
Perfect, thanks for merging it in, and thanks for taking care of this project! 🎉
The OpenJDK sets
os.arch
toriscv64
orriscv32
. This trips the architecture detection as it assumes theos.arch=riscv
on RISC-V. Adds support forriscv32
andriscv64
to returnriscv
regardless. The bitness will be detected inguessBitnessFromArchitecture