!293 Init support for ppc64le
From: @jiahua-yu Reviewed-by: @kuenking111 Signed-off-by: @kuenking111
This commit is contained in:
commit
05b2fa844a
@ -55,6 +55,7 @@
|
||||
|
||||
%global aarch64 aarch64
|
||||
%global riscv64 riscv64
|
||||
%global ppc64le ppc64le
|
||||
|
||||
# By default, we build a debug build during main build on JIT architectures
|
||||
%if %{with slowdebug}
|
||||
@ -116,6 +117,9 @@
|
||||
%ifarch %{riscv64}
|
||||
%global archinstall riscv64
|
||||
%endif
|
||||
%ifarch %{ppc64le}
|
||||
%global archinstall ppc64le
|
||||
%endif
|
||||
|
||||
%global with_systemtap 1
|
||||
|
||||
@ -753,7 +757,7 @@ Provides: java-src%{?1} = %{epoch}:%{version}-%{release}
|
||||
|
||||
Name: java-%{javaver}-%{origin}
|
||||
Version: %{newjavaver}.%{buildver}
|
||||
Release: 2
|
||||
Release: 3
|
||||
# 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
|
||||
@ -1139,7 +1143,7 @@ fi
|
||||
pushd %{top_level_dir_name}
|
||||
|
||||
# OpenJDK patches
|
||||
%ifnarch loongarch64
|
||||
%ifnarch loongarch64 ppc64le
|
||||
%ifarch riscv64
|
||||
%patch2000 -p1
|
||||
%else
|
||||
@ -1298,7 +1302,7 @@ bash ../configure \
|
||||
--with-version-build=%{buildver} \
|
||||
--with-version-pre="" \
|
||||
--with-version-opt="" \
|
||||
%ifnarch loongarch64
|
||||
%ifnarch loongarch64 ppc64le
|
||||
--with-vendor-version-string="%{vendor_version_string}" \
|
||||
--with-vendor-name="Bisheng" \
|
||||
%endif
|
||||
@ -1721,6 +1725,9 @@ cjc.mainProgram(arg)
|
||||
|
||||
|
||||
%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
|
||||
- Fix build on riscv64
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user