Luajit Rocks

LuaJIT and luarocks in one location
Alternatives To Luajit Rocks
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Folly26,0565a day ago3March 21, 2018432apache-2.0C++
An open-source C++ library developed and used at Facebook.
Miopen872
a day ago339mitAssembly
AMD's Machine Intelligence Library
Ecosystem154
4 years agootherCMake
A cross-platform environment management system for VFX/animation production plus R&D
Luajit Rocks134
6 years ago15C
LuaJIT and luarocks in one location
Flucoma Max76
4 days ago57bsd-3-clauseMax
Fluid Corpus Manipulation objects for Cycling 74's Max
Flucoma Sc60
16 days ago23bsd-3-clauseSuperCollider
Fluid Corpus Manipulation plugins for Supercollider
Rcssmonitor42
6 months agogpl-3.0C++
The RoboCup Soccer Simulator Monitor
Osvr Oculus Rift40
6 years ago6apache-2.0CMake
Oculus Rift tracking plugin for OSVR.
Usd Uri Resolver39
a month ago7bsd-4-clauseCMake
Pluggable URI ArResolver for USD
G3sinks34
5 months agounlicenseC++
sinks to g3logger
Alternatives To Luajit Rocks
Select To Compare


Alternative Project Comparisons
Readme

CMake-based LuaJIT + Luarocks

What's the point?

We want to provide an easy to way to users for installing recent versions of LuaJIT (or Lua) and luarocks, with almost no efforts.

The provided LuaJIT (or Lua) and luarocks point to their respective git repository. We did not make any changes, except the compilation and installation processes.

In addition,

  • Luarocks (or Lua) will be installed at the same location as LuaJIT and will know about LuaJIT shared library location (mandatory for Windows installs). It will also not be confused if you have several LuaJIT+luarocks at different locations.

  • Luarocks will come installed with Torch rocks repository

  • Luarocks comes with mandatory system command line tools under Windows.

  • Readline support for LuaJIT.

  • Experimental: Lua 5.1 with reference counting.

Pre-requisites

Install CMake on your system.

Get a C compiler. For Windows, we recommend the Windows SDK. It is free, it has no GUI, but it is just fine with CMake.

Installation

git clone https://github.com/torch/luajit-rocks.git
cd luajit-rocks
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/your/prefix

Then under Unix systems:

make install

Under Windows:

nmake install

Note: we do not recommend (nor we support) installation under Cygwin.

Additional CMake flags

  • If you prefer vanilla Lua 5.1 instead of LuaJIT, use -DWITH_LUA51=ON
  • If you prefer vanilla Lua 5.1 with reference counting instead of LuaJIT, use -DWITH_LUA51RC=ON (experimental)
  • If you prefer vanilla Lua 5.2 instead of LuaJIT, use -DWITH_LUA52=ON
  • If you prefer LuaJIT 2.1 instead of LuaJIT 2.0, use -DWITH_LUAJIT21=ON
Popular Location Projects
Popular Cmake Projects
Popular Libraries Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
C
Lua
Cmake
Location