Building with my own LuaJIT

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
technomancy
Prole
Posts: 49
Joined: Thu Oct 29, 2015 8:25 am
Location: Thailand
Contact:

Building with my own LuaJIT

Post by technomancy »

Hello!

I recently got an arm64 laptop, and it's great. However, LuaJIT had some bugs which caused frequent segfaults on arm64. Luckily these bugs have been fixed in git, but they haven't yet made it to a release.

I can't figure out how to recompile Love to use the version of LuaJIT which has the fixes applied. Could anyone point me in the right direction? I'm very unfamiliar with autotools etc.
User avatar
darkfrei
Party member
Posts: 1169
Joined: Sat Feb 08, 2020 11:09 pm

Re: Building with my own LuaJIT

Post by darkfrei »

Not sure bur maybe the replacing of lua51.dll
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
pgimeno
Party member
Posts: 3544
Joined: Sun Oct 18, 2015 2:58 pm

Re: Building with my own LuaJIT

Post by pgimeno »

Have you tried to build the development version?
User avatar
AuahDark
Party member
Posts: 107
Joined: Mon Oct 23, 2017 2:34 pm
Location: Indonesia
Contact:

Re: Building with my own LuaJIT

Post by AuahDark »

You don't specify OS. In Linux, you probably have to recompile everything so it uses /usr/local paths. In Windows, it's not possible to compile LuaJIT for Windows ARM64 yet.
Profile. Do you encounter crashes in LÖVE Android and wanna send me logcats? Please hit me up in LÖVE Discord and send the full logcat file!
User avatar
technomancy
Prole
Posts: 49
Joined: Thu Oct 29, 2015 8:25 am
Location: Thailand
Contact:

Re: Building with my own LuaJIT

Post by technomancy »

Ah right; forgot that Windows was a thing. Yes, I'm building on Linux. I was hoping to be able to point love to my luajit that exists in my home dir without any sudo shenanigans, but I guess if putting it in /usr/local is the way to go I can do that; thanks. =)
grump
Party member
Posts: 947
Joined: Sat Jul 22, 2017 7:43 pm

Re: Building with my own LuaJIT

Post by grump »

technomancy wrote: Wed Nov 17, 2021 5:30 pm Ah right; forgot that Windows was a thing. Yes, I'm building on Linux. I was hoping to be able to point love to my luajit that exists in my home dir without any sudo shenanigans, but I guess if putting it in /usr/local is the way to go I can do that; thanks. =)

Code: Select all

$ LD_PRELOAD=/path/to/my/luajit.so love game.love
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 42 guests