Stack
On most Unix variants stack can be installed via the following shell script:
$ wget -qO- https://get.haskellstack.org/ > installer
$ sha256sum installer
$ bash installer
Stack Checksum: a651e631e2ce9b69259badac3d88a3b7278b0a5f626854cc62f2f0f13a32e4ba
LLVM
The LLVM compiler toolchain can be installed via system package manager. On Debian variants:
$ sudo apt-get install llvm3.5 llvm3.5-dev
Verify the install:
$ llvm-config --ldflags
-L/usr/lib/llvm-3.8/lib -lpthread -lffi -ltinfo -ldl -lm
Stack
There are several ways to install Stack on OSX:
or
$ brew install haskell-stack
LLVM
The LLVM compiler toolchain can be installed via brew formula:
$ brew install libffi llvm35
Verify the install:
$ $(brew --prefix llvm35)/bin/llvm-config-3.5 --ldflags
-L/usr/local/Cellar/llvm35/3.5.1/lib/llvm-3.5/lib
To build the project:
$ git clone https://github.com/sdiehl/paris-fp.git
$ cd paris-fp
$ stack setup
$ stack build