!523 Init support for ppc64le
From: @jiahua-yu Reviewed-by: @kuenking111 Signed-off-by: @kuenking111
This commit is contained in:
commit
f008be1b97
@ -53,9 +53,10 @@
|
|||||||
|
|
||||||
%global aarch64 aarch64
|
%global aarch64 aarch64
|
||||||
%global riscv64 riscv64
|
%global riscv64 riscv64
|
||||||
%global jit_arches x86_64 %{aarch64}
|
%global ppc64le ppc64le
|
||||||
|
%global jit_arches x86_64 %{aarch64} ppc64le
|
||||||
%global sa_arches x86_64 %{aarch64}
|
%global sa_arches x86_64 %{aarch64}
|
||||||
%global jfr_arches x86_64 %{aarch64}
|
%global jfr_arches x86_64 %{aarch64} ppc64le
|
||||||
|
|
||||||
# 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
|
||||||
@ -120,6 +121,10 @@
|
|||||||
%global archinstall riscv64
|
%global archinstall riscv64
|
||||||
%global stapinstall %{nil}
|
%global stapinstall %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch ppc64le
|
||||||
|
%global archinstall ppc64le
|
||||||
|
%global stapinstall powerpc64le
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch %{jit_arches}
|
%ifarch %{jit_arches}
|
||||||
%global with_systemtap 1
|
%global with_systemtap 1
|
||||||
@ -925,7 +930,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
|
||||||
@ -1636,6 +1641,7 @@ ln -s %{top_level_dir_name} jdk8
|
|||||||
pushd %{top_level_dir_name}
|
pushd %{top_level_dir_name}
|
||||||
# OpenJDK patches
|
# OpenJDK patches
|
||||||
|
|
||||||
|
%ifnarch ppc64le
|
||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
%patch18 -p1
|
%patch18 -p1
|
||||||
@ -1924,6 +1930,7 @@ pushd %{top_level_dir_name}
|
|||||||
%ifarch riscv64
|
%ifarch riscv64
|
||||||
%patch2000 -p1
|
%patch2000 -p1
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# System library fixes
|
# System library fixes
|
||||||
@ -2039,17 +2046,17 @@ 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 ppc64le
|
||||||
--with-company-name="Bisheng" \
|
--with-company-name="Bisheng" \
|
||||||
--with-vendor-name="Bisheng" \
|
--with-vendor-name="Bisheng" \
|
||||||
|
%endif
|
||||||
--with-vendor-url="https://openeuler.org/" \
|
--with-vendor-url="https://openeuler.org/" \
|
||||||
--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 \
|
||||||
--enable-unlimited-crypto \
|
--enable-unlimited-crypto \
|
||||||
%ifarch %{jit_arches}
|
%ifarch aarch64
|
||||||
--enable-kae \
|
--enable-kae \
|
||||||
%else
|
|
||||||
--disable-kae \
|
|
||||||
%endif
|
%endif
|
||||||
--with-stdc++lib=dynamic \
|
--with-stdc++lib=dynamic \
|
||||||
--with-extra-cflags="$EXTRA_CFLAGS" \
|
--with-extra-cflags="$EXTRA_CFLAGS" \
|
||||||
@ -2568,6 +2575,9 @@ cjc.mainProgram(arg)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 6 2024 jiahua.yu <jiahua.yu@shingroup.cn> - 1:1.8.0.402-b06.1
|
||||||
|
- init support for arch ppc64le
|
||||||
|
|
||||||
* Wed Jan 17 2024 Autistic_boyya <wangzhongyi7@huawei.com> - 1:1.8.0.402-b06.0
|
* Wed Jan 17 2024 Autistic_boyya <wangzhongyi7@huawei.com> - 1:1.8.0.402-b06.0
|
||||||
- modified 0019-8040213-C2-does-not-put-all-modified-nodes-on-IGVN-w.patch
|
- modified 0019-8040213-C2-does-not-put-all-modified-nodes-on-IGVN-w.patch
|
||||||
- modified Improve_AlgorithmConstraints_checkAlgorithm_performance.patch
|
- modified Improve_AlgorithmConstraints_checkAlgorithm_performance.patch
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user