!177 Init support for ppc64le
From: @jiahua-yu Reviewed-by: @xujing99 Signed-off-by: @xujing99
This commit is contained in:
commit
b031dd7f4d
39
Add-ppc64le-support.patch
Normal file
39
Add-ppc64le-support.patch
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
From c6d355a6997ac10403181015b5ca9d17dcf8d1a7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: JianChunfu <chunfu.jian@shingroup.cn>
|
||||||
|
Date: Tue, 24 Oct 2023 18:38:38 +0800
|
||||||
|
Subject: [PATCH] add ppc64le support
|
||||||
|
|
||||||
|
---
|
||||||
|
macros | 2 +-
|
||||||
|
rpmrc | 2 ++
|
||||||
|
2 files changed, 3 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/macros b/macros
|
||||||
|
index 5c7447b..38dc694 100644
|
||||||
|
--- a/macros
|
||||||
|
+++ b/macros
|
||||||
|
@@ -225,7 +225,7 @@
|
||||||
|
%pkg_vcmp() (%{expand:%%{pkg_version_cmp %1 %3}} %2 0)
|
||||||
|
|
||||||
|
#arches macros
|
||||||
|
-%generic_arches %{ix86} x86_64 %{arm} aarch64 loongarch64
|
||||||
|
+%generic_arches %{ix86} x86_64 %{arm} aarch64 loongarch64 ppc64le
|
||||||
|
%ldc_arches %{generic_arches}
|
||||||
|
%valgrind_arches %{generic_arches}
|
||||||
|
%nodejs_arches %{generic_arches}
|
||||||
|
diff --git a/rpmrc b/rpmrc
|
||||||
|
in
|
||||||
|
dex 8ba756d..10d7c86 100644
|
||||||
|
--- a/rpmrc
|
||||||
|
+++ b/rpmrc
|
||||||
|
@@ -8,6 +8,8 @@ optflags: x86_64 %{__global_compiler_flags} -m64 -mtune=generic -fasynchronous-u
|
||||||
|
optflags: aarch64 %{__global_compiler_flags} -fasynchronous-unwind-tables -fstack-clash-protection
|
||||||
|
optflags: riscv64 %{__global_compiler_flags} -fasynchronous-unwind-tables -fstack-clash-protection
|
||||||
|
|
||||||
|
+optflags: ppc64le %{__global_compiler_flags} -fasynchronous-unwind-tables -fstack-clash-protection
|
||||||
|
+
|
||||||
|
buildarchtranslate: athlon: i686
|
||||||
|
buildarchtranslate: geode: i686
|
||||||
|
buildarchtranslate: pentium4: i686
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: %{vendor}-rpm-config
|
Name: %{vendor}-rpm-config
|
||||||
Version: 30
|
Version: 30
|
||||||
Release: 46
|
Release: 47
|
||||||
License: GPL+
|
License: GPL+
|
||||||
Summary: specific rpm configuration files
|
Summary: specific rpm configuration files
|
||||||
URL: https://gitee.com/openeuler/openEuler-rpm-config
|
URL: https://gitee.com/openeuler/openEuler-rpm-config
|
||||||
@ -33,6 +33,7 @@ Patch19: add-pyproject-macros.patch
|
|||||||
Patch20: add-pytest-and-tox-macros.patch
|
Patch20: add-pytest-and-tox-macros.patch
|
||||||
Patch21: check-if-the-file-is-a-symbolic-link-in-brp-digest-list.patch
|
Patch21: check-if-the-file-is-a-symbolic-link-in-brp-digest-list.patch
|
||||||
Patch22: fix-the-ELF-file-cannot-be-found-due-to-escape-of.patch
|
Patch22: fix-the-ELF-file-cannot-be-found-due-to-escape-of.patch
|
||||||
|
Patch23: Add-ppc64le-support.patch
|
||||||
|
|
||||||
Provides: python-rpm-macros = %{?epoch:%{epoch}:}%{version}-%{release}
|
Provides: python-rpm-macros = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
Provides: python2-rpm-macros = %{?epoch:%{epoch}:}%{version}-%{release}
|
Provides: python2-rpm-macros = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
@ -144,6 +145,9 @@ sed -i "s/__vendor/%{vendor}/g" `grep "__vendor" -rl %{buildroot}%{_rpmconfigdir
|
|||||||
%{rpmvdir}/find-requires.ksyms
|
%{rpmvdir}/find-requires.ksyms
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 11 2023 jiahua.yu <jiahua.yu@shingroup.cn> - 30-47
|
||||||
|
- Init support for arch ppc64le
|
||||||
|
|
||||||
* Wed Nov 22 2023 xujing <xujing125@huawei.com> - 30-46
|
* Wed Nov 22 2023 xujing <xujing125@huawei.com> - 30-46
|
||||||
- add the scanning path of the rpath
|
- add the scanning path of the rpath
|
||||||
fix the ELF file cannot be found due to escape of '\'
|
fix the ELF file cannot be found due to escape of '\'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user