Fails to build on ARM
bmartini opened this issue · comments
Berin Martini commented
When building on ARM torch fails to build its version of luaJIT. The problem seems to be the file "buildvm_arch.h". Not only does it get put in the wrong place after DynASM generates it but the file as generated does not work if placed in the right place.
Workaround for me was to download the latest luaJIT source. Use it to generate the "buildvm_arch.h" file and move it to "torch/exe/luajit/src/host/". Once that file is in place the source will build. This only works as the "buildvm_arch.h" that torch generates is placed in the wrong area and does not overwrite the "good" version that I got from luaJIT.