SHA256
6
0
forked from pool/luajit

85 Commits

Author SHA256 Message Date
a53acac476 - riscv64-support.patch: update from LuaJIT/LuaJIT#1267 2025-10-28 11:35:07 +01:00
df163c15e4 Add Provides: Lua(API) 2025-10-26 21:16:39 +01:00
836b03f2bf Replace the implementation of LuaJIT of the original implementation of Mike Pall with the OpenResty fork.
Just to make rpmlint happy, I have to mention that we removed
  these patches:
  - 0003-Get-rid-of-LUAJIT_VERSION_SYM-that-changes-ABI-on-ev.patch
  - 0002-Enable-debugging-symbols-in-the-build.patch
2025-10-16 19:07:50 +02:00
251d01b86d Don’t provide _bindir/lua5.1 2025-10-13 19:09:24 +02:00
ac8ffcaa61 Don’t Conflict with lua51 directly. 2025-10-13 19:09:24 +02:00
1b3d2f5015 - Rewrite SPEC file to work with other Lua interpreters and
packages.
- Updated to 2.1.20250826 (1756211046)
  * FFI: Fix dangling CType references (again).
  * Avoid out-of-range PC for stack overflow error from snapshot restore.
  * x86/x64: Don't use undefined MUL/IMUL zero flag.
  * Windows: Add lua52compat option to msvcbuild.bat.
- Cherry-pick riscv64-support.patch to add RISC-V support
- Cherry-pick loong64-support.patch to add LoongArch support
- Reapply patches to avoid fuzz and long-term maintenance:
  loong64-support.patch and riscv64-support.patch.
2025-10-13 19:09:24 +02:00
f36461594b Removal of unnecessary. 2025-10-13 19:09:24 +02:00
8377b3e76e Accepting request 1292094 from devel:languages:lua
- Updated to 2.1.20250529 (1748495995).
  * https://github.com/openresty/luajit2/compare/v2.1-20250117...v2.1-20250529

OBS-URL: https://build.opensuse.org/request/show/1292094
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit2?expand=0&rev=8
2025-10-13 19:07:11 +02:00
Илья Индиго
2901ff4f9a Accepting request 1238654 from home:13ilya:branches:devel:languages:lua
- Updated to 2.1.20250117 (1737090214).
  * Changed file luajit2-name.patch.
  * https://github.com/openresty/luajit2/compare/v2.1-20241203...v2.1-20250117
  * Fixed recording of BC_VARG.

OBS-URL: https://build.opensuse.org/request/show/1238654
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit2?expand=0&rev=14
2025-10-13 19:06:38 +02:00
Илья Индиго
6df4b98dbf Accepting request 1238646 from home:13ilya:branches:devel:languages:lua
- Updated to 2.1.20250117 (1737090214).
  * Changed file luajit2-name.patch.
  * Added riscv support.

OBS-URL: https://build.opensuse.org/request/show/1238646
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit2?expand=0&rev=13
2025-10-13 19:06:38 +02:00
Илья Индиго
3541aafaf6 Accepting request 1225971 from home:13ilya
- Updated to 2.1.20241113 (2.1.1731486438).
  * Upstream doesn't provide a ChangeLog.

OBS-URL: https://build.opensuse.org/request/show/1225971
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit2?expand=0&rev=11
2025-10-13 19:06:38 +02:00
Илья Индиго
4dd970965a Accepting request 1222024 from home:13ilya:branches:devel:languages:lua
- Updated to 2.1.20241104 (2.1.1728714540).
  * FFI: Added missing coercion when recording 64-bit bit.*().
  * ARM64: Used ldr literal to load FP constants.

OBS-URL: https://build.opensuse.org/request/show/1222024
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit2?expand=0&rev=9
2025-10-13 19:06:38 +02:00
Илья Индиго
87fc9892fe Accepting request 1196382 from home:13ilya
- Updated to 2.1.20240815 (2.1.1723681758).
  * Changed file luajit2-name.patch.
  * Added ppc64le support.

OBS-URL: https://build.opensuse.org/request/show/1196382
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit2?expand=0&rev=7
2025-10-13 19:06:38 +02:00
Илья Индиго
99505451fa Accepting request 1173006 from home:13ilya
- Changed file luajit2-name.patch and fixed package.path for modules.

OBS-URL: https://build.opensuse.org/request/show/1173006
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit2?expand=0&rev=5
2025-10-13 19:06:38 +02:00
Илья Индиго
6c94f9f7d7 Accepting request 1171853 from home:13ilya
- Removed %check (tests don't run, and it's not known how to run them).

OBS-URL: https://build.opensuse.org/request/show/1171853
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit2?expand=0&rev=3
2025-10-13 19:06:37 +02:00
f53c28c046 Accepting request 1171749 from devel:languages:lua
Need for nxinx-module-lua

OBS-URL: https://build.opensuse.org/request/show/1171749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit2?expand=0&rev=1
2025-10-13 19:06:37 +02:00
ac5306efd0 Accepting request 1171061 from home:13ilya
Trying again. :-)

I think I figured out what confusion in the title you were referring to.
In luajit2 from OpenResty only the project directory and another internal version are renamed.
But everything else, library name, executable name, directory with header files, pc-file and even man-file remained unchanged.
This is what is really confusing and makes lualit2 incompatible with luajit.

I fixed this in the patch luajit2-name.patch and now luajit2 is not dependent on or related to luajit in any way, except for the html documentation, it has its own executable, library and header file directory names.
Also pc and man files have been corrected.
Now it does not conflict with luajit and can be installed simultaneously with luajit without interfering with it.
By accident something intended to be built with luajit can NOT be built with luajit2!

As for the openresty package, I strongly recommend to remove it after adopting luajit2, as nobody needs it as it is!

About the tests, upstream didn't document how to use them correctly, so I decided to check with them, I hope I guessed correctly.

https://github.com/openresty/luajit2/issues/226

Leap has a too old version of perl and they can only work in Tumbleweed.

If you have any constructive comments, I'm willing to discuss them. :-)

OBS-URL: https://build.opensuse.org/request/show/1171061
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit2?expand=0&rev=1
2025-10-13 19:06:32 +02:00
429f433dc9 Accepting request 1256453 from devel:languages:lua
- Update to version 5.1.2.1.0+git.1741730670.538a821:
  * Change handling of nil value markers in template tables.
  * REVERT: Change handling of nil value markers in template tables.
  * macOS: Fix Apple hardened runtime support and put behind build option.
  * macOS: Fix support for Apple hardened runtime.
  * Fix handling of nil value markers in template tables.
  * Avoid unpatching bytecode twice after a trace flush.
  * Fix state restore when recording __concat metamethod.
  * Windows: Allow mixed builds with msvcbuild.bat.
  * macOS: Add suport for Apple hardened runtime.
  * Add compatibility string coercion for fp:seek() argument.
  * Windows: Clarify installation directory layout.
  * Remove Cygwin from docs, since it's not a supported target.
  * Improve CLI signal handling on POSIX.
  * FFI: Add pre-declared int128_t, uint128_t, __int128 types.
  * Use dylib extension for iOS installs, too.
  * Change handling of nil value markers in template tables.
  * Fix recording of BC_VARG.
  * Reject negative getfenv()/setfenv() levels to prevent compiler warning.
  * Bump copyright date.
  * Force fallback source name for stripped bytecode.
  * Remove dependency on <limits.h>.
  * Restore state when recording __concat metamethod throws OOM.
  * MIPS64: Fix pcall() error case.
  * Fix detection of inconsistent renames due to sunk values.

OBS-URL: https://build.opensuse.org/request/show/1256453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=18
2025-03-31 09:37:11 +00:00
f594af2d04 Accepting request 1251653 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/1251653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=17
2025-03-11 19:43:43 +00:00
66244414a2 Accepting request 1228734 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/1228734
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=16
2024-12-08 10:36:22 +00:00
5479f1140d - No loongarch64 support yet
- turn around the logic to known supported architectures

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=67
2024-12-06 10:18:42 +00:00
faead3941c Accepting request 1225213 from devel:languages:lua
- Update to version 5.1.2.1.0+git.1731601260.fe71d0f:
  * Windows: Allow amalgamated static builds with msvcbuild.bat.
  * Always close profiler output file.
  * Fix override of INSTALL_LJLIBD in the presence of DESTDIR.
  * Fix bit op coercion for shifts in DUALNUM builds.

OBS-URL: https://build.opensuse.org/request/show/1225213
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=15
2024-11-21 14:13:04 +00:00
62dd22d926 - Update to version 5.1.2.1.0+git.1731601260.fe71d0f:
* Windows: Allow amalgamated static builds with msvcbuild.bat.
  * Always close profiler output file.
  * Fix override of INSTALL_LJLIBD in the presence of DESTDIR.
  * Fix bit op coercion for shifts in DUALNUM builds.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=65
2024-11-20 07:25:55 +00:00
6a409334d8 Accepting request 1221954 from devel:languages:lua
- Update to version 5.1.2.1.0+git.1727870382.97813fb:
  * macOS: Remove obsolete -single_module flag.
  * macOS: Workaround for buggy XCode 15.0 - 15.2 linker.
  * macOS: Fix macOS 15 / Clang 16 build.
  * Fix bit op coercion in DUALNUM builds.
  * Fix compiliation of getmetatable() for UDTYPE_IO_FILE.
  * Remove ancient RtlUnwindEx workaround for MinGW64.
  * Drop unused function wrapper.
- Update luajit-s390x.patch from
  gh#openresty/luajit2!195 (following the advice on
  gh#LuaJIT/LuaJIT!631#issuecomment-2459913131).

OBS-URL: https://build.opensuse.org/request/show/1221954
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=14
2024-11-07 15:23:57 +00:00
9e9d7c2e53 Use obs_scm service instead.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=63
2024-11-06 21:04:02 +00:00
2bdc4eec01 Fir tarball name
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=62
2024-11-06 17:06:57 +00:00
9a90b953a6 - Update to version 5.1.2.1.0+git.1727870382.97813fb:
* macOS: Remove obsolete -single_module flag.
  * macOS: Workaround for buggy XCode 15.0 - 15.2 linker.
  * macOS: Fix macOS 15 / Clang 16 build.
  * Fix bit op coercion in DUALNUM builds.
  * Fix compiliation of getmetatable() for UDTYPE_IO_FILE.
  * Remove ancient RtlUnwindEx workaround for MinGW64.
  * Drop unused function wrapper.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=61
2024-11-06 17:05:33 +00:00
9cc6da6233 - Update luajit-s390x.patch from
gh#openresty/luajit2!195 (following the advice on
  gh#LuaJIT/LuaJIT!631#issuecomment-2459913131).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=60
2024-11-06 16:26:54 +00:00
01bfef0131 Accepting request 1196125 from devel:languages:lua
- Update to version 5.1.2.1.0+git.1724512491.f725e44:
  * Fix limit check in narrow_conv_backprop().
  * Always use IRT_NIL for IR_TBAR.
  * ARM64: Use ldr literal to load FP constants.
  * FFI: Add missing coercion when recording 64-bit bit.*().
  * ARM64: Make tobit conversions match JIT backend behavior.
  * ARM: Make hard-float tobit conversions match JIT backend behavior.
  * FFI: Drop finalizer table rehash after GC cycle.
  * Fix another potential file descriptor leak in luaL_loadfile*().
  * MIPS32: Fix little-endian IR_RETF.
  * Correctly close VM state after early OOM during open.
  * Fix potential file descriptor leak in luaL_loadfile*().
  * Reflect override of INSTALL_LJLIBD in package.path.
  * ARM64: Use movi to materialize FP constants.
  * Add more FOLD rules for integer conversions.
  * Different fix for partial snapshot restore due to stack overflow.
  * Fix IR_ABC hoisting.
  * Limit CSE for IR_CARG to fix loop optimizations.
  * Call math.randomseed() without arguments to seed from system entropy.
  * Restore state when recording __concat metamethod throws an error.
  * Add build flag LUAJIT_DISABLE_TAILCALL to disable tailcall generation.
  * Clarify that lj_buf_shrink() does not keep any buffer data.
  * OSX: Fix installed luajit.pc.
  * FFI: Fix various issues in recff_cdata_arith.
  * Fix predict_next() in parser (for real now).
  * FFI: Fix __tostring metamethod access to enum cdata value.
  * Fix typo.
  * Handle partial snapshot restore due to stack overflow.
  * Update Nintendo Switch build script.
  * Prevent sanitizer warning in snap_restoredata().
  * Typo.
  * Limit number of string format elements to compile.
  * FFI: Clarify scalar boxing behavior.
  * Fix internal link in docs.
  * OSX/iOS: Fix SDK incompatibility.
  * Windows/MSVC: Cleanup msvcbuild.bat and always generate PDB.
  * Fix segment release check in internal memory allocator.
  * Fix compiler warning.
  * FFI: Turn FFI finalizer table into a proper GC root.
  * OSX/iOS: Always generate 64 bit non-FAT Mach-O object files.
  * Show name of NYI bytecode in -jv and -jdump.
  * Use generic trace error for OOM during trace stitching.
  * Fix serialization format docs.
  * Handle all types of errors during trace stitching.
  * Fix recording of __concat metamethod.
  * Prevent down-recursion for side traces.
  * Check frame size limit before returning to a lower frame.
  * FFI: Treat cdata finalizer table as a GC root.
  * Handle stack reallocation in debug.setmetatable() and lua_setmetatable().
- Update patches:
  - luajit-lua-versioned.patch
  - luajit-s390x.patch (update to the latest base code)

OBS-URL: https://build.opensuse.org/request/show/1196125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=13
2024-08-27 17:38:35 +00:00
6d7baaa627 - Update to version 5.1.2.1.0+git.1724512491.f725e44:
* Fix limit check in narrow_conv_backprop().
  * Always use IRT_NIL for IR_TBAR.
  * ARM64: Use ldr literal to load FP constants.
  * FFI: Add missing coercion when recording 64-bit bit.*().
  * ARM64: Make tobit conversions match JIT backend behavior.
  * ARM: Make hard-float tobit conversions match JIT backend behavior.
  * FFI: Drop finalizer table rehash after GC cycle.
  * Fix another potential file descriptor leak in luaL_loadfile*().
  * MIPS32: Fix little-endian IR_RETF.
  * Correctly close VM state after early OOM during open.
  * Fix potential file descriptor leak in luaL_loadfile*().
  * Reflect override of INSTALL_LJLIBD in package.path.
  * ARM64: Use movi to materialize FP constants.
  * Add more FOLD rules for integer conversions.
  * Different fix for partial snapshot restore due to stack overflow.
  * Fix IR_ABC hoisting.
  * Limit CSE for IR_CARG to fix loop optimizations.
  * Call math.randomseed() without arguments to seed from system entropy.
  * Restore state when recording __concat metamethod throws an error.
  * Add build flag LUAJIT_DISABLE_TAILCALL to disable tailcall generation.
  * Clarify that lj_buf_shrink() does not keep any buffer data.
  * OSX: Fix installed luajit.pc.
  * FFI: Fix various issues in recff_cdata_arith.
  * Fix predict_next() in parser (for real now).
  * FFI: Fix __tostring metamethod access to enum cdata value.
  * Fix typo.
  * Handle partial snapshot restore due to stack overflow.
  * Update Nintendo Switch build script.
  * Prevent sanitizer warning in snap_restoredata().

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=58
2024-08-26 19:34:29 +00:00
18c0c7198a Accepting request 1154166 from devel:languages:lua
- Update to version 5.1.2.1.0+git.1707061634.0d313b2:
  * Rework stack overflow handling.
  * Preserve keys with dynamic values in template tables when saving bytecode.
  * Prevent include of luajit_rolling.h.
  * Fix documentation bug about '\z' string escape.
  * Fix zero stripping in %g number formatting.
  * Fix unsinking of IR_FSTORE for NULL metatable.
  * DynASM/x86: Add endbr instruction.
  * MIPS64 R2/R6: Fix FP to integer conversions.
  * Add cross-32/64 bit and deterministic bytecode generation.
  * DynASM/x86: Allow [&expr] operand.
  * Check for IR_HREF vs. IR_HREFK aliasing in non-nil store check.
  * Respect jit.off() on pending trace exit.
  * Simplify handling of instable types in TNEW/TDUP load forwarding.
  * Only emit proper parent references in snapshot replay.
  * Fix anchoring for string buffer set() method (again).
  * ARM: Fix stack restore for FP slots.
  * Document workaround for multilib vs. cross-compiler conflict.
  * Fix anchoring for string buffer set() method.
  * Fix runtime library flags for MSVC debug builds.
  * Fix .debug_abbrev section in GDB JIT API.
  * Optimize table.new() with constant args to (sinkable) IR_TNEW.
  * Emit sunk IR_NEWREF only once per key on snapshot replay.
  * Fix last commit.
  * x86/x64: Don't fuse loads across IR_NEWREF.
  * Improve last commit.
  * x86/x64: Don't fuse loads across table.clear.
  * x86/x64: Add more red zone checks to assembler backend.
  * Add stack check to pcall/xpcall.
  * Invalidate SCEV entry when returning to lower frame.
  * FFI: Fix pragma push stack limit check and throw on overflow.
  * ARM64: Fix disassembly of ldp/stp offsets.
  * Check for upvalue state transition in IR_UREFO.
  * x64: Properly fix __call metamethod return dispatch.
  * Windows/x86: _BitScan*64 are only available on 64 bit archs.
  * Add 'cc' file type for saving bytecode.
  * FFI/Windows: Fix type declaration for int64_t and uint64_t.
  * FFI: Fix dangling reference to CType in carith_checkarg().
  * DynASM/ARM64: Support ldp/stp of q registers.
  * ARM64: Use ADR and ADRP to form constants.
  * ARM64: Fix disassembly of U12 loads.
  * ARM64: Unify constant register handling in interpreter.
  * ARM: Fix register hint for FFI calls with FP results.
  * ARM64: Fix register hint for FFI calls with FP results.
  * ARM64: Restore fp before sp in C stack unwinders.
  * FFI: Fix ffi.abi("pauth").
  * Maintain chain invariant in DCE.
  * LJ_FR2: Fix stack checks in vararg calls.
  * Follow-up fix for stack overflow handling cleanup.
  * Handle OOM error on stack resize in coroutine.resume and lua_checkstack.
  * Restore cur_L for specific Lua/C API use case.
  * Consistently use 64 bit constants for 64 bit IR instructions.
  * ARM64: Fix IR_HREF code generation for constant FP keys.
  * ARM64: Fuse negative 32 bit constants into arithmetic ops again.
  * Handle all stack layouts in (delayed) TRACE vmevent.
  * Add missing coercion when recording select(string, ...)
  * Cleanup stack overflow handling.
  * Windows/ARM64: Add MSVC cross-build support for x64 to ARM64.
  * IR_MIN/IR_MAX is non-commutative due to underlying FPU ops.
  * ARM64: Set fixed interpreter registers before rethrow.
  * Windows/ARM64: Update install docs.
  * Windows: Call C++ destructors without compiling with /EHa.
  * Windows: Pass scratch CONTEXT record to RtlUnwindEx.
  * ARM64: External unwinder already restores non-volatile registers.
  * Windows/ARM64: Fix exception unwinding (again).
  * Windows/ARM64: Fix typo in exception unwinding.
  * FFI: Fix 64 bit shift fold rules.
  * Windows/ARM64: Support Windows calling conventions.
  * Windows/ARM64: Fix exception unwinding.
  * ARM64: Remove unneeded IRCALL_* defs for math intrinsics.
  * Fix Cygwin build.
  * Allow path overrides in genversion.lua with minilua, too.
  * Windows/ARM64: Add initial support.
  * Improve architecture detection error messages.
  * ARM64: Fuse rotates into logical operands.
  * ARM64: Don't fuse sign extensions into logical operands.
  * ARM64: Disassemble rotates on logical operands.
  * ARM: Fix stack check code generation.
  * ARM64: Fix LDP/STP fusion (again).
  * ARM64: Ensure branch is in range before emitting TBZ/TBNZ.
  * Fix mcode limit check for non-x86 archs.
  * ARM64: Improve BC_JLOOP.
  * ARM64: Improve integer IR_MUL code generation.
  * ARM64: Simplify code generation for IR_STRTO.
  * ARM64: Use RID_TMP instead of scratch register in more places.
  * ARM64: Improve IR_OBAR code generation.
  * ARM64: Improve IR_UREF code generation.
  * ARM64: Improve IR_HREF code generation.
  * ARM64: Reload BASE via GL instead of spilling it.
  * ARM64: Consolidate 32/64-bit constant handling in assembler.
  * ARM64: Tune emit_lsptr. Avoid wrong load for asm_prof.
  * ARM64: Inline only use of emit_loada.
  * ARM64: Improve K13 constant rematerialization.
  * Add NaN check to IR_NEWREF.
  * Allow override of paths for genversion.lua.
  * Fix native MinGW build.
- Also refresh luajit-s390x.patch from the rebased pull request.

OBS-URL: https://build.opensuse.org/request/show/1154166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=12
2024-03-03 19:19:31 +00:00
83ff1ccb7d Update patches
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=56
2024-03-01 20:09:44 +00:00
c538190c10 - Also refresh luajit-s390x.patch from the rebased pull request.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=55
2024-03-01 20:06:49 +00:00
75817bd8f4 - Update to version 5.1.2.1.0+git.1707061634.0d313b2:
* Rework stack overflow handling.
  * Preserve keys with dynamic values in template tables when saving bytecode.
  * Prevent include of luajit_rolling.h.
  * Fix documentation bug about '\z' string escape.
  * Fix zero stripping in %g number formatting.
  * Fix unsinking of IR_FSTORE for NULL metatable.
  * DynASM/x86: Add endbr instruction.
  * MIPS64 R2/R6: Fix FP to integer conversions.
  * Add cross-32/64 bit and deterministic bytecode generation.
  * DynASM/x86: Allow [&expr] operand.
  * Check for IR_HREF vs. IR_HREFK aliasing in non-nil store check.
  * Respect jit.off() on pending trace exit.
  * Simplify handling of instable types in TNEW/TDUP load forwarding.
  * Only emit proper parent references in snapshot replay.
  * Fix anchoring for string buffer set() method (again).
  * ARM: Fix stack restore for FP slots.
  * Document workaround for multilib vs. cross-compiler conflict.
  * Fix anchoring for string buffer set() method.
  * Fix runtime library flags for MSVC debug builds.
  * Fix .debug_abbrev section in GDB JIT API.
  * Optimize table.new() with constant args to (sinkable) IR_TNEW.
  * Emit sunk IR_NEWREF only once per key on snapshot replay.
  * Fix last commit.
  * x86/x64: Don't fuse loads across IR_NEWREF.
  * Improve last commit.
  * x86/x64: Don't fuse loads across table.clear.
  * x86/x64: Add more red zone checks to assembler backend.
  * Add stack check to pcall/xpcall.
  * Invalidate SCEV entry when returning to lower frame.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=54
2024-03-01 20:06:14 +00:00
fc766da5f0 Accepting request 1116533 from devel:languages:lua
- Adjust luajit-lua-versioned.patch to have correct LUA_LJDIR
  (bsc#1215592).

OBS-URL: https://build.opensuse.org/request/show/1116533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=11
2023-10-10 18:52:06 +00:00
3b5b98bc15 - Adjust luajit-lua-versioned.patch to have correct LUA_LJDIR
(bsc#1215592).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=52
2023-10-09 20:11:56 +00:00
679fa05527 Accepting request 1109627 from devel:languages:lua
- Update to version 5.1.2.1.0+git.1693350652.41fb94d:
  * Add randomized register allocation for fuzz testing.
  * ARM64: Improve register allocation for integer IR_MUL/IR_MULOV.
  * ARM64: Fix register allocation for IR_*LOAD.
  * Update external MSDN URL in code.
  * FFI/ARM64/OSX: Handle non-standard OSX C calling conventions.
  * FFI: Unify stack setup for C calls in interpreter.
  * ARM64: Prevent STP fusion for conditional code emitted by TBAR.
  * ARM64: Fix LDP/STP fusing for unaligned accesses.
  * Handle table unsinking in the presence of IRFL_TAB_NOMM.
  * Use fallback name for install files without valid .git or .relver.
  * Handle non-.git checkout with .relver in .bat-file builds.
  * Fix external C call stack check when using LUAJIT_MODE_WRAPCFUNC.
  * Fix predict_next() in parser (again).
- Update luajit-lua-versioned.patch to work with the git checkout
  created tarball. The point of the patch is to extend the
  version number so that it is always bigger than 2.2.0 version
  of moonjit, which is Obsoleted by this package.

- Update to version 2.1.0~beta3+git.1692716794.03c3112:
  * Fix typo.
  * Handle the case when .git is not a directory.
  * Add .gitattributes to dynamically resolve .relver.
  * Add .gitattributes to dynamically resolve .relver.
  * Fix for last commit: also remove symlink on uninstall.
  * Switch to rolling releases: mark v2.1 as production.
  * Fix Windows build scripts for rolling releases.
  * Switch MSVC and console build scripts to rolling releases.
  * Switch build system to rolling releases.
  * Update documentation for switch to rolling releases.

OBS-URL: https://build.opensuse.org/request/show/1109627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=10
2023-09-10 11:09:28 +00:00
fc43755a2e Something has nothing to do
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=50
2023-09-07 22:11:19 +00:00
ba6654c553 Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=49
2023-09-06 22:19:58 +00:00
62d49c4442 - Update to version 5_1.2.1.0~beta3+git.1693350652.41fb94d:
* Add randomized register allocation for fuzz testing.
  * ARM64: Improve register allocation for integer IR_MUL/IR_MULOV.
  * ARM64: Fix register allocation for IR_*LOAD.
  * Update external MSDN URL in code.
  * FFI/ARM64/OSX: Handle non-standard OSX C calling conventions.
  * FFI: Unify stack setup for C calls in interpreter.
  * ARM64: Prevent STP fusion for conditional code emitted by TBAR.
  * ARM64: Fix LDP/STP fusing for unaligned accesses.
  * Handle table unsinking in the presence of IRFL_TAB_NOMM.
  * Use fallback name for install files without valid .git or .relver.
  * Handle non-.git checkout with .relver in .bat-file builds.
  * Fix external C call stack check when using LUAJIT_MODE_WRAPCFUNC.
  * Fix predict_next() in parser (again).
- Update luajit-lua-versioned.patch to work with the git checkout
  created tarball. The point of the patch is to extend the
  version number so that it is always bigger than 2.2.0 version
  of moonjit, which is Obsoleted by this package.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=48
2023-09-06 22:13:05 +00:00
90f1dbf5df Enable the patch again, now with a bit of metadata.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=47
2023-09-06 17:02:00 +00:00
bce19743b0 Get rid of the patch (WIP).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=46
2023-09-06 16:08:24 +00:00
5bdae47da7 Modernized version of the SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=45
2023-08-23 17:30:25 +00:00
4935c03adc Fix the patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=44
2023-08-23 15:41:29 +00:00
60c3441df4 Fix the patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=43
2023-08-23 15:37:53 +00:00
bc69dd485d Fix the patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=42
2023-08-23 15:34:08 +00:00
e84d3d5ba7 Fix the patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=41
2023-08-23 15:30:21 +00:00
9e5d6466cc Update patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=40
2023-08-23 14:32:03 +00:00
da942776e0 - Update to version 2.1.0~beta3+git.1692716794.03c3112:
* Fix typo.
  * Handle the case when .git is not a directory.
  * Add .gitattributes to dynamically resolve .relver.
  * Add .gitattributes to dynamically resolve .relver.
  * Fix for last commit: also remove symlink on uninstall.
  * Switch to rolling releases: mark v2.1 as production.
  * Fix Windows build scripts for rolling releases.
  * Switch MSVC and console build scripts to rolling releases.
  * Switch build system to rolling releases.
  * Update documentation for switch to rolling releases.
  * Bump copyright date.
  * Remove work-in-progress notice in string buffer docs.
  * MIPS: Fix "bad FP FLOAD" assertion.
  * Ensure forward progress on trace exit to BC_ITERN.
  * ARM64: Add support for ARM64e pointer authentication codes (PAC).
  * DynASM/ARM64: Add instructions for ARM64e PAC.
  * Fix maxslots when recording BC_VARG, part 3.
  * Fix predict_next() in parser.
  * MIPS32: Declare that the assembler part uses the FR=0 model.
  * ARM64: Fix assembly of HREFK (again).
  * Fix frame for more types of on-trace error messages.
  * Add workaround for bytecode dump of builtins.
  * DynASM: Fix regression due to warning fix.
  * Fix base register coalescing in side trace.
  * ARM64: Fix assembly of HREFK.
  * Fix maxslots when recording BC_VARG, part 2.
  * Fix maxslots when recording BC_TSETM.
  * Fix maxslots when recording BC_VARG.
  * Fix register mask for stack check in head of side trace.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=39
2023-08-23 14:27:54 +00:00
e758f22d68 Accepting request 1105084 from devel:languages:lua
- Update luajit-s390x.patch from gh#LuaJIT/LuaJIT#631 to the
  current form.

OBS-URL: https://build.opensuse.org/request/show/1105084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=9
2023-08-22 06:55:00 +00:00