Add support for ppc64le

This commit is contained in:
peng_zou 2024-06-25 14:32:43 +08:00
parent 12026f6ccb
commit dd46f5de5c

View File

@ -72,7 +72,7 @@
%global is_system_jdk 0 %global is_system_jdk 0
%global aarch64 aarch64 arm64 armv8 %global aarch64 aarch64 arm64 armv8
%global jit_arches x86_64 %{aarch64} riscv64 loongarch64 %global jit_arches x86_64 %{aarch64} riscv64 loongarch64 ppc64le
%global aot_arches x86_64 %{aarch64} %global aot_arches x86_64 %{aarch64}
# Set of architectures for which java has short vector math library (libsvml.so) # Set of architectures for which java has short vector math library (libsvml.so)
@ -898,7 +898,7 @@ Name: java-latest-%{origin}
Version: %{newjavaver}.%{buildver} Version: %{newjavaver}.%{buildver}
# This package needs `.rolling` as part of Release so as to not conflict on install with # This package needs `.rolling` as part of Release so as to not conflict on install with
# java-X-openjdk. I.e. when latest rolling release is also an LTS release packaged as # java-X-openjdk. I.e. when latest rolling release is also an LTS release packaged as
Release: 0 Release: 1
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons
# and this change was brought into RHEL-4. java-1.5.0-ibm packages # and this change was brought into RHEL-4. java-1.5.0-ibm packages
@ -1353,6 +1353,8 @@ elif [ "$ARCH" = "riscv64" ]; then
: :
elif [ "$ARCH" = "loongarch64" ]; then elif [ "$ARCH" = "loongarch64" ]; then
: :
elif [ "$ARCH" = "ppc64le" ]; then
:
else else
echo " Failed to set BOOTJDKPATH " echo " Failed to set BOOTJDKPATH "
exit 18 exit 18
@ -1808,6 +1810,9 @@ cjc.mainProgram(arg)
%changelog %changelog
* Tue Jun 25 2024 peng.zou <peng.zou@shingroup.cn> - 1:21.0.0.36-1
- Add support for ppc64le
* Wed Jun 05 2024 Autistic_boyya <wangzhongyi7@huawei.com> - 1:22.0.0.36-rolling * Wed Jun 05 2024 Autistic_boyya <wangzhongyi7@huawei.com> - 1:22.0.0.36-rolling
- update to jdk22+36 - update to jdk22+36