update mainline and riscv64
This commit is contained in:
parent
e774922c61
commit
2f69a6444b
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
21
luajit.spec
21
luajit.spec
@ -2,7 +2,7 @@
|
||||
|
||||
Name: luajit
|
||||
Version: 2.1.0
|
||||
Release: 7
|
||||
Release: 8
|
||||
Summary: Just-In-Time Compiler for Lua
|
||||
License: MIT
|
||||
URL: http://luajit.org/
|
||||
@ -10,7 +10,7 @@ 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
|
||||
Patch0001: luajit-2.1-224129a-update.patch
|
||||
Patch0001: luajit-2.1-d06beb0-update.patch
|
||||
Patch0002: 0002-luajit-add-secure-compile-option-fstack.patch
|
||||
Patch0003: add-riscv-support.patch
|
||||
ExclusiveArch: %{arm} %{ix86} x86_64 %{mips} aarch64 riscv64
|
||||
@ -36,7 +36,14 @@ Summary: Documents for luajit
|
||||
Man pages and other related documents for luajit.
|
||||
|
||||
%prep
|
||||
%autosetup -n LuaJIT-2.1.0-beta3 -p1
|
||||
%setup -q -n LuaJIT-2.1.0-beta3
|
||||
%patch -P0001 -p1
|
||||
%patch -P0002 -p1
|
||||
|
||||
# riscv64 arch patch
|
||||
%ifarch riscv64
|
||||
%patch -P0003 -p1
|
||||
%endif
|
||||
|
||||
sed -i -e '/install -m/s/-m/-p -m/' Makefile
|
||||
|
||||
@ -51,7 +58,6 @@ sed -i -e '/install -m/s/-m/-p -m/' Makefile
|
||||
|
||||
rm -rf _tmp_html ; mkdir _tmp_html
|
||||
cp -a doc _tmp_html/html
|
||||
ln -s luajit-2.1.0-beta3 %{buildroot}%{_bindir}/luajit
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
@ -62,9 +68,9 @@ ln -s luajit-2.1.0-beta3 %{buildroot}%{_bindir}/luajit
|
||||
%files
|
||||
%doc README COPYRIGHT
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/%{name}-2.1.0-beta3
|
||||
%{_bindir}/%{name}-2.1.ROLLING
|
||||
%{_libdir}/lib%{name}-*.so.*
|
||||
%{_datadir}/%{name}-2.1.0-beta3/
|
||||
%{_datadir}/%{name}-2.1/
|
||||
|
||||
%files devel
|
||||
%doc _tmp_html/html/
|
||||
@ -77,6 +83,9 @@ ln -s luajit-2.1.0-beta3 %{buildroot}%{_bindir}/luajit
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 21 2024 TexasOct <TexasOct@isrc.iscas.ac.cn> - 2.1.0-8
|
||||
- update riscv64 support and update to mainline d06beb04
|
||||
|
||||
* Wed Jul 19 2023 Jingwiw <wangjingwei@iscas.ac.cn> - 2.1.0-7
|
||||
- add riscv64 support
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user