Skip to content

Commit

Permalink
riscv64: Use JDK21 to bootstrap JDK21
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart X Addison <[email protected]>
  • Loading branch information
sxa committed Nov 17, 2023
1 parent 08ef952 commit ff86e29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build-farm/make-adopt-build-farm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ 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"
elif [ "${JAVA_FEATURE_VERSION}" == "21" ] && [ "${ARCHITECTURE}" == "riscv64" ]; then
# JDK20 has issues. No RVV fix for C910/C920 systems and
# does not run well in in docker containers
JDK_BOOT_VERSION="21"
elif [ "${JAVA_FEATURE_VERSION}" == "19" ]; then
JDK_BOOT_VERSION="19"
fi
Expand Down

0 comments on commit ff86e29

Please sign in to comment.