Skip to content
Leonard Truong edited this page Feb 2, 2015 · 3 revisions

Installation with OS X and Anaconda

brew tap homebrew/versions
brew install llvm33

edit ~/.ctree.cfg to have

[c]
CC = clang-3.3
CFLAGS = -O3 -stdlib=libstdc++ -mmacosx-version-min=10.6

[opencl]
CC = clang-3.3
CFLAGS = -O3 -stdlib=libstdc++ -mmacosx-version-min=10.6

and finally

conda install llvm llvmpy nose numpy
git clone https://github.com/ucb-sejits/ctree.git
cd ctree
python setup.py install
nosetests