Raptor Computing Systems Community Forums (BETA)

Software => Applications and Porting => Topic started by: tle on August 14, 2023, 08:55:52 am

Title: [DEV] LuaJIT PPC64 support
Post by: tle on August 14, 2023, 08:55:52 am
PPC64 support is still a big mess. The sponsorship for PPC64 support was proposed in https://github.com/LuaJIT/LuaJIT/issues/42 however there has been little responses from the core team of LuaJIT which has lead to frustration to whom who might have given it a go.

Notably, the attempt by Gustavo Scalet (https://github.com/LuaJIT/LuaJIT/pull/54) in 2016 was not good enough. According to Mike Pall, the code was no good (ref: https://www.freelists.org/post/luajit/PPC64le-port-status,1)

Other ports that have better quality but has since get so out of sync, for example https://github.com/mwkmwkmwk/LuaJIT/tree/ppc64-ffi. Again there is zero attempt to get this merged to upstream LuaJIT.

I reckon the best approach is to crowd fund a bounty for Mike Pall to actually work on a proper port.
Title: Re: LuaJIT PPC64 support
Post by: tle on August 14, 2023, 09:11:30 am
I've just donated $50 for the bounty https://app.bountysource.com/issues/25924774-enable-implement-ppc64-le-linux-lj_gc64-interpreter-and-jit

Any small or big donation is greatly welcomed
Title: Re: [DEV] LuaJIT PPC64 support
Post by: MPC7500 on June 12, 2024, 06:19:43 pm
LuaJIT2 for ppc64le
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/67491
Title: Re: [DEV] LuaJIT PPC64 support
Post by: tle on June 14, 2024, 09:45:40 pm
LuaJIT2 for ppc64le
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/67491

Oh great! I will make the same change to Fedora's luajit. Thanks for sharing
Title: Re: [DEV] LuaJIT PPC64 support
Post by: MPC7500 on November 05, 2025, 09:36:46 pm
Quote
Hi,

the latest available upstream version v2.1-20250826 has support for both ppc64
and ppc64el allowing luajit to be built successfully on both of these architectures.

Debian PowerPC Mailing List (https://lists.debian.org/debian-powerpc/2025/10/msg00004.html)
Title: Re: [DEV] LuaJIT PPC64 support
Post by: power9mm on November 07, 2025, 05:05:40 am
I remember this being the major hang up with the STALKER engine when getting it to compile for ppc64le (x-ray engine) i forgot what we did to get it to work and unfortunately i've lost all the code and work that was done due to theft of the hard drives i had been using in my system from a storage unit break in. There was some kind of working version of it though for ppc64... Also the guy who helped made it possible has vanished and most likely for the worst sad to say...
Title: Re: [DEV] LuaJIT PPC64 support
Post by: pkubaj on November 19, 2025, 09:55:33 am
Quote
Hi,

the latest available upstream version v2.1-20250826 has support for both ppc64
and ppc64el allowing luajit to be built successfully on both of these architectures.

Debian PowerPC Mailing List (https://lists.debian.org/debian-powerpc/2025/10/msg00004.html)

That quote is really misleading, I thought for a moment that Mike Pall finally merged PPC64 support after like 10 years. But it's just openresty fork, it's had ppc64 and ppc64le support for quite some time already.