-
-
Notifications
You must be signed in to change notification settings - Fork 8
Build Instructions
Cody Tilkins edited this page Feb 24, 2021
·
1 revision
- run `prereqs download`
- run `build driver lua-x.x.x` or `build driver luajit`
- run `build package lua-x-x-x` or `build driver luajit` for each lua version needed
- run `build install dir` where dir already exists
This is a self contained package, so deleting the directory will also delete the program. Keep in mind that on Linux to run this program, you need to configure `LD_LIBRARY_PATH` or cache your installation directory with `ldconfig` or friends. This is a Linux dependent thing I will eventually fix, sorry.
- configure PLAT to point to: Windows, MSVS, Linux
- configure LUA_VER to point to: lua-x.x.x, luajit
- supply target driver to build the driver with a default package
- supply target package for each lua version needed
make PLAT=Windows LUA_VER=lua-x.x.x driver
make PLAT=Windows LUA_VER=lua-x.x.x package
...
make PLAT=Windows "PREFIX=C:\install_dir\" install
make PLAT=MSVS LUA_VER=lua-x.x.x driver
make PLAT=MSVS LUA_VER=lua-x.x.x package
...
make PLAT=MSVS "PREFIX=C:\install_dir\" install
make PLAT=Linux LUA_VER=lua-x.x.x driver
make PLAT=Linux LUA_VER=lua-x.x.x package
...
make PLAT=Linux "PREFIX=/opt/install_dir/" install
prereqs.bat download
build.bat driver lua-x.x.x
build.bat package lua-x.x.x
...
build.bat install "C:\install_dir\"
prereqs.bat download
build.msvs.bat driver lua-x.x.x
build.msvs.bat package lua-x.x.x
...
build.msvs.bat install "C:\install_dir\"
./prereqs.sh download
./build.sh driver lua-x.x.x
./build.sh package lua-x.x.x
...
./build.sh install "/opt/install_dir"