add support ppc64le

(cherry picked from commit ad96a85668d88d0877e0ba53a1e1d517bcf6be57)
This commit is contained in:
chenyuanfeng 2024-03-15 11:03:29 +08:00 committed by openeuler-sync-bot
parent 3a317b585a
commit f4906d7c7f
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