From a45e6aa2b7d3a8376231a868193af572171ca466 Mon Sep 17 00:00:00 2001 From: "jiahua.yu" Date: Mon, 27 Nov 2023 16:47:47 +0800 Subject: [PATCH] Init support for ppc64le --- openjdk-1.8.0.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/openjdk-1.8.0.spec b/openjdk-1.8.0.spec index ff89fdc..61a617a 100644 --- a/openjdk-1.8.0.spec +++ b/openjdk-1.8.0.spec @@ -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 powerpc +%endif %ifarch %{jit_arches} %global with_systemtap 1 @@ -1593,6 +1598,7 @@ ln -s %{top_level_dir_name} jdk8 pushd %{top_level_dir_name} # OpenJDK patches +%ifnarch ppc64le %patch8 -p1 %patch10 -p1 %patch18 -p1 @@ -1839,6 +1845,7 @@ pushd %{top_level_dir_name} %ifarch riscv64 %patch2000 -p1 %endif +%endif popd # System library fixes @@ -1954,8 +1961,10 @@ 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/" \ @@ -2480,6 +2489,9 @@ cjc.mainProgram(args) %endif %changelog +* Mon Nov 27 2023 jiahua.yu - 1:1.8.0.382-b05.8 +- Init support for ppc64le + * Mon Sep 11 2023 kuenking111 - 1:1.8.0.382-b05.8 - Fix openjfx bingding issues -- Gitee