Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (26 sloc) 718 Bytes
#Linux
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo cp dr_sasa /usr/local/bin
#Mac OS, single core, OSX 10.9+
$ mkdir build
$ cd build
$ cmake ../
$ make
$ sudo cp dr_sasa /usr/local/bin
#Mac OS, multicore, OSX 10.9+
#Install a C++ compiler with an OpenMP implementation. In this example we will use LLVM installed through Homebrew
$ brew install llvm
$ mkdir build
$ cd build
$ CC=/usr/local/opt/llvm/bin/clang CXX=/usr/local/opt/llvm/bin/clang++ \
LDFLAGS="-L/usr/local/opt/llvm/lib \
-Wl,-rpath,/usr/local/opt/llvm/lib" \
cmake ../
$ make
$ sudo cp dr_sasa /usr/local/bin
#Windows
Use binary release.
Alternatively you can use the linux instructions in a Cygwin environment or in Ubuntu for Windows.