It would be nice to have selectable LuaJit as optional Lua engine for LuCI in menuconfig.
I find LuCI too slow…
That's why, some time ago I've built LuaJit on my poor mipsel-based RT-N16 @ OpenWRT 19 and compared 3000x3000 pixel Mandelbrot calculation with vanilla Lua.
Lua calculation was finished in 1543.4 seconds
LuaJit calculation was finished in 501.6 seconds
That makes sense. But the server side must still accept input from client and make changes on the router right? So some server side software will still be required I assume?
So you must have debugged what when wrong. Can you file a bug report with a patch to fix the package. I actually don't have any need for LuaJit but it's dumb to have a package there and it doesn't compile because it can't find a header file
Looking at the Fail-log (https://downloads.openwrt.org/snapshots/faillogs/arm_cortex-a15_neon-vfpv4/packages/luajit/compile.txt), it seems that the error has to do with 32-bit libc dev headers missing on the build-bot? Just a guess from the cursory Google search for the error.. they all point to missing kernel headers - and all 32-bit. At a guess, the build-bot is a 64-bit system and the package isn't passing the -m32 properly for the TARGET.