!293 Init support for ppc64le

From: @jiahua-yu 
Reviewed-by: @kuenking111 
Signed-off-by: @kuenking111
This commit is contained in:
openeuler-ci-bot 2024-03-14 07:05:57 +00:00 committed by Gitee
commit 05b2fa844a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -55,6 +55,7 @@
%global aarch64 aarch64 %global aarch64 aarch64
%global riscv64 riscv64 %global riscv64 riscv64
%global ppc64le 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
%if %{with slowdebug} %if %{with slowdebug}
@ -116,6 +117,9 @@
%ifarch %{riscv64} %ifarch %{riscv64}
%global archinstall riscv64 %global archinstall riscv64
%endif %endif
%ifarch %{ppc64le}
%global archinstall ppc64le
%endif
%global with_systemtap 1 %global with_systemtap 1
@ -753,7 +757,7 @@ Provides: java-src%{?1} = %{epoch}:%{version}-%{release}
Name: java-%{javaver}-%{origin} Name: java-%{javaver}-%{origin}
Version: %{newjavaver}.%{buildver} Version: %{newjavaver}.%{buildver}
Release: 2 Release: 3
# 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
@ -1139,7 +1143,7 @@ fi
pushd %{top_level_dir_name} pushd %{top_level_dir_name}
# OpenJDK patches # OpenJDK patches
%ifnarch loongarch64 %ifnarch loongarch64 ppc64le
%ifarch riscv64 %ifarch riscv64
%patch2000 -p1 %patch2000 -p1
%else %else
@ -1298,7 +1302,7 @@ bash ../configure \
--with-version-build=%{buildver} \ --with-version-build=%{buildver} \
--with-version-pre="" \ --with-version-pre="" \
--with-version-opt="" \ --with-version-opt="" \
%ifnarch loongarch64 %ifnarch loongarch64 ppc64le
--with-vendor-version-string="%{vendor_version_string}" \ --with-vendor-version-string="%{vendor_version_string}" \
--with-vendor-name="Bisheng" \ --with-vendor-name="Bisheng" \
%endif %endif
@ -1721,6 +1725,9 @@ cjc.mainProgram(arg)
%changelog %changelog
* Wed Mar 13 2024 jiahua.yu <jiahua.yu@shingroup.cn> - 1:11.0.22.7-3
- init support for arch ppc64le
* Mon Feb 26 2024 misaka00251 <liuxin@iscas.ac.cn> - 1:11.0.22.7-2 * Mon Feb 26 2024 misaka00251 <liuxin@iscas.ac.cn> - 1:11.0.22.7-2
- Fix build on riscv64 - Fix build on riscv64