main/luajit: Enable luajit2 for ppc64le

Luajit2 works properly on ppc64le and there has
been a patch merged in the OpenResty repo to skip
the 2 tests:
https://github.com/openresty/luajit2-test-suite/pull/20

Once there is a new release of OpenResty, the
luajit2 apk build should work properly on ppc64le
as-is, and the 2 tests should not need to be
skipped in the APKBUILD. This apk has been
verified on a ppc64le machine using version
3.20.0_alpha20231219

Signed-off-by: D Singh <dsingh-devel@tutanota.com>
This commit is contained in:
D Singh 2024-06-03 14:10:21 +00:00 committed by Natanael Copa
parent da4bff2aee
commit 13e99c6b72

View file

@ -8,9 +8,8 @@ pkgrel=0
_gitrev_tests=9ad3724b1a02855a3cad638bba2e564f825954ce
pkgdesc="OpenResty's branch of LuaJIT"
url="https://github.com/openresty/luajit2"
# ppc64le: fails tests/not really supported
# riscv64 loongarch64: does not build/not supported
arch="all !ppc64le !riscv64 !loongarch64"
arch="all !riscv64 !loongarch64"
license="MIT"
checkdepends="
perl
@ -39,6 +38,8 @@ prepare() {
arm*) rm test-suite/test/misc/bit_op.lua;;
# 35: declaration specifier expected near '_Alignas' at line 882
x86) rm test-suite/test/sysdep/ffi_include_std.lua;;
# jit_record and iter-bug tests failed on ppc64le (module not found).
ppc64le) rm test-suite/test/misc/jit_record.lua; rm test-suite/test/misc/iter-bug.lua;;
esac
}