RFR: 8297851: Add devkit for RISC-V [v2]

Magnus Ihse Bursie ihse at openjdk.org
Wed Jan 18 14:57:17 UTC 2023


On Wed, 18 Jan 2023 01:24:24 GMT, Fei Yang <fyang at openjdk.org> wrote:

>> make/devkit/Tools.gmk line 71:
>> 
>>> 69:       BASE_OS_VERSION := $(DEFAULT_OS_VERSION)
>>> 70:     endif
>>> 71:     BASE_URL := http://fedora.riscv.rocks/repos-dist/$(BASE_OS_VERSION)/$(ARCH)/Packages/
>> 
>> Hi,  thanks for adding devkit support for linux/riscv64.
>> I tried and it seems that I could not access this URL: http://fedora.riscv.rocks/repos-dist/rawhide/68692/riscv64/Packages/ or even: http://fedora.riscv.rocks/repos-dist
>> Anything I missed here?
>
> Looks like the URL are accessible now again. Changes looks good to me. Not an expert in this part.

The varying availablility is a bit unnerving, as is the fact that only a single build of rawhide is present. :-(

Clearly, this is not an ideal way to get an environment to build riscv in. In fact, the way GHA does it by using Debian's debootstrap is probably much better. The only reason for doing it this way is that it fits the current devkit model and thus do not require a complete rewrite of the devkit make files.

-------------

PR: https://git.openjdk.org/jdk/pull/11432



More information about the build-dev mailing list