Skip to content

Building Julia with CXX

malex984 edited this page Nov 8, 2014 · 24 revisions
LLVM_ASSERTIONS=1
LLVM_VER=svn
BUILD_LLVM_CLANG=1
BUILD_LLDB=1
LLDB_VER=master
USE_LLVM_SHLIB=1
LLDB_DISABLE_PYTHON=1
  • make (it will fail)
    • one can also do make julia-debug
  • patch llvm-svn http://reviews.llvm.org/D5431 by hand (patch doesn't apply automatically):
    • add -lpthread to the end of LLVMLibsOptions inside deps/llvm-svn/tools/lldb/lib/Makefile
  • make (it may fail: if so, make clean (?make cleanall?) and make again -- will take much less time)
  • Pkg.clone("https://github.com/Keno/Cxx.jl", "Cxx")
  • add LLDB_LIBS += -llldb -llldbHostPosix to ~/.julia/v0.4/Cxx/deps/BuildBootstrap.Makefile
  • Pkg.build("Cxx")
  • using Cxx
Clone this wiki locally