Skip to content

Commit

Permalink
Special case boot version for JDK11u on riscv64 (#3629)
Browse files Browse the repository at this point in the history
  • Loading branch information
luhenry authored Feb 3, 2024
1 parent 2add547 commit c0807ba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build-farm/make-adopt-build-farm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,10 @@ then
if [ "${JAVA_FEATURE_VERSION}" == "11" ] && [ "${VARIANT}" == "openj9" ]; then
# OpenJ9 only supports building jdk-11 with jdk-11
JDK_BOOT_VERSION="11"
fi
if [ "${JAVA_FEATURE_VERSION}" == "17" ]; then
elif [ "${JAVA_FEATURE_VERSION}" == "11" ] && [ "${VARIANT}" == "hotspot" ] && [ "${ARCHITECTURE}" == "riscv64" ]; then
# RISC-V isn't supported on (and isn't planned to support) anything before JDK 11
JDK_BOOT_VERSION="11"
elif [ "${JAVA_FEATURE_VERSION}" == "17" ]; then
# To support reproducible-builds the jar/jmod --date option is required
# which is only available in jdk-17 and from jdk-19 so we cannot bootstrap with JDK16
JDK_BOOT_VERSION="17"
Expand Down

0 comments on commit c0807ba

Please sign in to comment.