Skip to content

Installation Instructions on Ubuntu 13.04

Daniel Eloff edited this page May 18, 2013 · 1 revision

Install Dependencies

sudo apt-get install clang llvm-dev libclang-dev

Add Makefile.inc

In the same directory as Makefile, put this into Makefile.inc

LLVM_CONFIG = $(shell which llvm-config)
LLVM_COMPILER_BIN = /usr/bin
LLVM_CXX = $(shell which clang++)
LLVM_CC  = $(shell which clang)

Optional, apply hotfix(es) to LuaJIT

Download LuaJIT and hotfixes from here. Untar and apply patches, then retar as build/LuaJIT-2.0.1.tar.gz

make

Enjoy!