-
Notifications
You must be signed in to change notification settings - Fork 56
Building LuaJIT
aborkar-ibm edited this page Aug 10, 2022
·
22 revisions
The following versions of LuaJIT are available in the respective distribution at the time of creation of these build instructions:
- RHEL (8.4, 8.6) has
2.1
The instructions provided below specify the steps to build LuaJIT version 2.1 on Linux on IBM Z for following distributions:
- SLES (12 SP5, 15 SP3, 15 SP4)
- RHEL (7.8, 7.9, 9.0)
- Ubuntu (18.04, 20.04, 22.04)
General Notes:
- When following the steps below please use a standard permission user unless otherwise specified.
- A directory
/<source_root>/
will be referred to in these instructions, this is a temporary writable directory anywhere you'd like to place it.
export SOURCE_ROOT=/<source_root>/
-
SLES (12 SP5, 15 SP3, 15 SP4)
sudo zypper update sudo zypper install git gcc make
-
RHEL (7.8, 7.9, 9.0)
sudo yum install gcc make git
-
Ubuntu (18.04, 20.04, 22.04)
sudo apt-get update sudo apt-get install git gcc make
cd $SOURCE_ROOT
git clone https://github.com/linux-on-ibm-z/LuaJIT.git
cd LuaJIT
git checkout v2.1
cd $SOURCE_ROOT/LuaJIT/
make
sudo make install
sudo ln -s luajit-2.1.0-beta3 /usr/local/bin/luajit
The information provided in this article is accurate at the time of writing, but on-going development in the open-source projects involved may make the information incorrect or obsolete. Please open issue or contact us on IBM Z Community if you have any questions or feedback.