!523 Init support for ppc64le

From: @jiahua-yu 
Reviewed-by: @kuenking111 
Signed-off-by: @kuenking111
This commit is contained in:
openeuler-ci-bot 2024-03-06 11:26:44 +00:00 committed by Gitee
commit f008be1b97
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -53,9 +53,10 @@
%global aarch64 aarch64
%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 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
%global include_debug_build 1
@ -120,6 +121,10 @@
%global archinstall riscv64
%global stapinstall %{nil}
%endif
%ifarch ppc64le
%global archinstall ppc64le
%global stapinstall powerpc64le
%endif
%ifarch %{jit_arches}
%global with_systemtap 1
@ -925,7 +930,7 @@ Provides: java-%{javaver}-%{origin}-accessibility%{?1} = %{epoch}:%{version}-%{r
Name: java-%{javaver}-%{origin}
Version: %{javaver}.%{updatever}.%{buildver}
Release: 0
Release: 1
# 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
# 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}
# OpenJDK patches
%ifnarch ppc64le
%patch8 -p1
%patch10 -p1
%patch18 -p1
@ -1924,6 +1930,7 @@ pushd %{top_level_dir_name}
%ifarch riscv64
%patch2000 -p1
%endif
%endif
popd
# System library fixes
@ -2039,17 +2046,17 @@ bash ${top_srcdir_abs_path}/configure \
--with-milestone="fcs" \
--with-update-version=%{updatever} \
--with-build-number=%{buildver} \
%ifnarch ppc64le
--with-company-name="Bisheng" \
--with-vendor-name="Bisheng" \
%endif
--with-vendor-url="https://openeuler.org/" \
--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-debug-level=$debugbuild \
--enable-unlimited-crypto \
%ifarch %{jit_arches}
%ifarch aarch64
--enable-kae \
%else
--disable-kae \
%endif
--with-stdc++lib=dynamic \
--with-extra-cflags="$EXTRA_CFLAGS" \
@ -2568,6 +2575,9 @@ cjc.mainProgram(arg)
%endif
%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
- modified 0019-8040213-C2-does-not-put-all-modified-nodes-on-IGVN-w.patch
- modified Improve_AlgorithmConstraints_checkAlgorithm_performance.patch