share/ext/luajit/README.md
Run the LuaJIT package build from a branch with:
$ gh workflow run build-luajit.yml --ref <branch>
To build and commit the generated packages/luajit-*.tar.gz artifacts back to the same branch:
$ gh workflow run build-luajit.yml --ref <branch> -f push_changes=true
Watch the latest run with:
$ gh run list --workflow build-luajit.yml --limit 1
$ gh run watch <run-id>
Start a "Native Tools Command Prompt for VS" for x86 and x64 respectively. Use the build_win32.bat to download, build and package the bundle
Needs the git tool to apply the patch.
Start a "Native Tools Command Prompt for VS" for x64. Make sure you've set the necessary root SDK environment variables. Use the build_ps4.bat/build_ps5.bat to download, build and package the bundle.
Start a "Native Tools Command Prompt for VS" for x64. Make sure you've set the necessary root SDK environment variables. Use the build_nx64.bat to download, build and package the bundle.
armv7-android, arm64-android + x86_64-linuxNote: Building 32 bit host executable is tricky on macOS, so we recommend using Linux for this
In order to build these platforms more easily it's easier to use a docker container.
$ ./scripts/docker/build.sh
$ ./scripts/docker/run.sh
Now you have a Ubuntu instance running. Set the DYNAMO_HOME variable:
$ ./scripts/build.py shell
Install linux tools. Note that you may need to remove the previous android sdk/ndk tools from DYNAMO_HOME.
$ ./scripts/build.py install_sdk --platform=armv7-android
Change directory to luajit and build as usual.