!49 [sync] PR-42: add support ppc64le

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-07-01 09:01:42 +00:00 committed by Gitee
commit b1a5a8c9db
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4786 additions and 2 deletions

4777
add-support-ppc64le.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
Name: luajit
Version: 2.1.0
Release: 5
Release: 6
Summary: Just-In-Time Compiler for Lua
License: MIT
URL: http://luajit.org/
@ -10,9 +10,13 @@ Source0: http://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz
# Patches from https://github.com/LuaJit/LuaJIT.git
# Generated from v2.1 branch against the 2.1.0-beta3 tag using
# git diff v2.1.0-beta3..v2.1 > luajit-2.1-update.patch
%ifnarch ppc64le
Patch0001: luajit-2.1-update.patch
Patch0002: 0002-luajit-add-secure-compile-option-fstack.patch
ExclusiveArch: %{arm} %{ix86} x86_64 %{mips} aarch64
%else
Patch0001: add-support-ppc64le.patch
%endif
ExclusiveArch: %{arm} %{ix86} x86_64 %{mips} aarch64 ppc64le
BuildRequires: gcc
BuildRequires: make
@ -76,6 +80,9 @@ ln -s luajit-2.1.0-beta3 %{buildroot}%{_bindir}/luajit
%{_mandir}/man1/%{name}.1*
%changelog
* Fri Mar 15 2024 chenyuanfeng <yuanfeng.chen@shingroup.cn> - 2.1.0-6
- add ppc64le support
* Fri Mar 24 2023 liyanan <liyanan32@h-partners.com> - 2.1.0-5
- Round upstream commit