add sw support
(cherry picked from commit 844c79985847705d1d1be206d93c674f174e7d4e)
This commit is contained in:
parent
0d908194c0
commit
20861c3d64
12647
add-sw-support.patch
Normal file
12647
add-sw-support.patch
Normal file
File diff suppressed because it is too large
Load Diff
13
luajit.spec
13
luajit.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: luajit
|
Name: luajit
|
||||||
Version: 2.1.0
|
Version: 2.1.0
|
||||||
Release: 10
|
Release: 11
|
||||||
Summary: Just-In-Time Compiler for Lua
|
Summary: Just-In-Time Compiler for Lua
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://luajit.org/
|
URL: http://luajit.org/
|
||||||
@ -17,7 +17,8 @@ Source3: apply-patches
|
|||||||
Patch0001: luajit-2.1-d06beb0-update.patch
|
Patch0001: luajit-2.1-d06beb0-update.patch
|
||||||
Patch0002: 0002-luajit-add-secure-compile-option-fstack.patch
|
Patch0002: 0002-luajit-add-secure-compile-option-fstack.patch
|
||||||
Patch0003: add-riscv-support.patch
|
Patch0003: add-riscv-support.patch
|
||||||
ExclusiveArch: %{arm} %{ix86} x86_64 %{mips} aarch64 riscv64 loongarch64
|
Patch0004: add-sw-support.patch
|
||||||
|
ExclusiveArch: %{arm} %{ix86} x86_64 %{mips} aarch64 riscv64 loongarch64 sw_64
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
@ -49,6 +50,11 @@ Man pages and other related documents for luajit.
|
|||||||
%patch -P0003 -p1
|
%patch -P0003 -p1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# sw64 arch patch
|
||||||
|
%ifarch sw_64
|
||||||
|
%patch -P0004 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch loongarch64
|
%ifarch loongarch64
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
cp %{SOURCE2} .
|
cp %{SOURCE2} .
|
||||||
@ -94,6 +100,9 @@ cp -a doc _tmp_html/html
|
|||||||
%{_mandir}/man1/%{name}.1*
|
%{_mandir}/man1/%{name}.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 28 2025 maqi <maqi@uniontech.com> - 2.1.0-11
|
||||||
|
- Add sw64 support
|
||||||
|
|
||||||
* Tue Feb 18 2025 zhaoxiaolin <zhaoxiaolin@loongson.cn> - 2.1.0-10
|
* Tue Feb 18 2025 zhaoxiaolin <zhaoxiaolin@loongson.cn> - 2.1.0-10
|
||||||
- optimize code and fix some bugs on loongarch64
|
- optimize code and fix some bugs on loongarch64
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user