!630 Sw64: Add sw64 architecture support.
From: @little-huaduo Reviewed-by: @alexanderbill Signed-off-by: @alexanderbill
This commit is contained in:
commit
77a646453f
82748
add-sw_64-support.patch
Normal file
82748
add-sw_64-support.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -56,9 +56,10 @@
|
|||||||
%global aarch64 aarch64
|
%global aarch64 aarch64
|
||||||
%global riscv64 riscv64
|
%global riscv64 riscv64
|
||||||
%global ppc64le ppc64le
|
%global ppc64le ppc64le
|
||||||
%global jit_arches x86_64 %{aarch64} loongarch64 ppc64le
|
%global sw_64 sw_64
|
||||||
%global sa_arches x86_64 %{aarch64} loongarch64
|
%global jit_arches x86_64 %{aarch64} loongarch64 ppc64le sw_64
|
||||||
%global jfr_arches x86_64 %{aarch64} loongarch64 ppc64le
|
%global sa_arches x86_64 %{aarch64} loongarch64 sw_64
|
||||||
|
%global jfr_arches x86_64 %{aarch64} loongarch64 ppc64le sw_64
|
||||||
|
|
||||||
# By default, we build a debug build during main build on JIT architectures
|
# By default, we build a debug build during main build on JIT architectures
|
||||||
%global include_debug_build 1
|
%global include_debug_build 1
|
||||||
@ -134,6 +135,11 @@
|
|||||||
%global stapinstall powerpc64le
|
%global stapinstall powerpc64le
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%ifarch sw_64
|
||||||
|
%global archinstall sw64
|
||||||
|
%global stapinstall sw64
|
||||||
|
%endif
|
||||||
|
|
||||||
# Need to support noarch for srpm build
|
# Need to support noarch for srpm build
|
||||||
%ifarch noarch
|
%ifarch noarch
|
||||||
%global archinstall %{nil}
|
%global archinstall %{nil}
|
||||||
@ -621,7 +627,7 @@ exit 0
|
|||||||
%{_jvmdir}/%{jredir -- %{?1}}/lib/%{archinstall}/libunpack.so
|
%{_jvmdir}/%{jredir -- %{?1}}/lib/%{archinstall}/libunpack.so
|
||||||
%{_jvmdir}/%{jredir -- %{?1}}/lib/%{archinstall}/libverify.so
|
%{_jvmdir}/%{jredir -- %{?1}}/lib/%{archinstall}/libverify.so
|
||||||
%{_jvmdir}/%{jredir -- %{?1}}/lib/%{archinstall}/libzip.so
|
%{_jvmdir}/%{jredir -- %{?1}}/lib/%{archinstall}/libzip.so
|
||||||
%ifnarch loongarch64
|
%ifnarch loongarch64 sw_64
|
||||||
%{_jvmdir}/%{jredir -- %{?1}}/lib/%{archinstall}/libz.so
|
%{_jvmdir}/%{jredir -- %{?1}}/lib/%{archinstall}/libz.so
|
||||||
%endif
|
%endif
|
||||||
%{_jvmdir}/%{jredir -- %{?1}}/lib/charsets.jar
|
%{_jvmdir}/%{jredir -- %{?1}}/lib/charsets.jar
|
||||||
@ -947,7 +953,7 @@ Provides: java-%{javaver}-%{origin}-accessibility%{?1} = %{epoch}:%{version}-%{r
|
|||||||
|
|
||||||
Name: java-%{javaver}-%{origin}
|
Name: java-%{javaver}-%{origin}
|
||||||
Version: %{javaver}.%{updatever}.%{buildver}
|
Version: %{javaver}.%{updatever}.%{buildver}
|
||||||
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
|
||||||
# also included the epoch in their virtual provides. This created a
|
# also included the epoch in their virtual provides. This created a
|
||||||
@ -1416,6 +1422,14 @@ Patch2000: add-riscv64-support.patch
|
|||||||
|
|
||||||
Patch4000: LoongArch64-support.patch
|
Patch4000: LoongArch64-support.patch
|
||||||
|
|
||||||
|
############################################
|
||||||
|
#
|
||||||
|
# sw_64 specific patches
|
||||||
|
#
|
||||||
|
############################################
|
||||||
|
|
||||||
|
Patch6000: add-sw_64-support.patch
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
#
|
#
|
||||||
# Dependencies
|
# Dependencies
|
||||||
@ -1707,7 +1721,7 @@ ln -s %{top_level_dir_name} jdk8
|
|||||||
|
|
||||||
pushd %{top_level_dir_name}
|
pushd %{top_level_dir_name}
|
||||||
# OpenJDK patches
|
# OpenJDK patches
|
||||||
%ifnarch loongarch64 ppc64le
|
%ifnarch loongarch64 ppc64le sw_64
|
||||||
|
|
||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
@ -2041,6 +2055,10 @@ pushd %{top_level_dir_name}
|
|||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%ifarch sw_64
|
||||||
|
%patch6000 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch riscv64
|
%ifarch riscv64
|
||||||
%patch2000 -p1
|
%patch2000 -p1
|
||||||
%endif
|
%endif
|
||||||
@ -2158,7 +2176,7 @@ bash ${top_srcdir_abs_path}/configure \
|
|||||||
--with-milestone="fcs" \
|
--with-milestone="fcs" \
|
||||||
--with-update-version=%{updatever} \
|
--with-update-version=%{updatever} \
|
||||||
--with-build-number=%{buildver} \
|
--with-build-number=%{buildver} \
|
||||||
%ifnarch loongarch64 ppc64le
|
%ifnarch loongarch64 ppc64le sw_64
|
||||||
--with-company-name="BiSheng" \
|
--with-company-name="BiSheng" \
|
||||||
--with-vendor-name="BiSheng" \
|
--with-vendor-name="BiSheng" \
|
||||||
%endif
|
%endif
|
||||||
@ -2166,7 +2184,9 @@ bash ${top_srcdir_abs_path}/configure \
|
|||||||
--with-vendor-bug-url="https://gitee.com/src-openeuler/openjdk-1.8.0/issues/" \
|
--with-vendor-bug-url="https://gitee.com/src-openeuler/openjdk-1.8.0/issues/" \
|
||||||
--with-vendor-vm-bug-url="https://gitee.com/src-openeuler/openjdk-1.8.0/issues/" \
|
--with-vendor-vm-bug-url="https://gitee.com/src-openeuler/openjdk-1.8.0/issues/" \
|
||||||
--with-debug-level=$debugbuild \
|
--with-debug-level=$debugbuild \
|
||||||
|
%ifnarch sw_64
|
||||||
--enable-unlimited-crypto \
|
--enable-unlimited-crypto \
|
||||||
|
%endif
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
--enable-kae \
|
--enable-kae \
|
||||||
%endif
|
%endif
|
||||||
@ -2690,6 +2710,10 @@ cjc.mainProgram(args) -- the returns from copy_jdk_configs.lua should not affect
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
|
* Tue Mar 18 2025 swcompiler <lc@wxiat.com> -1:1.8.0.442.b06-1
|
||||||
|
- Add sw64 architecture support to 8u442
|
||||||
|
|
||||||
* Wed Jan 22 2025 Autistic_boyya <wangzhongyi7@huawei.com> -1:1.8.0.442.b06-0
|
* Wed Jan 22 2025 Autistic_boyya <wangzhongyi7@huawei.com> -1:1.8.0.442.b06-0
|
||||||
- modified add-missing-test-case.patch
|
- modified add-missing-test-case.patch
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user