Commit 7c97ecd2 authored by Andrew Gibiansky's avatar Andrew Gibiansky

Merge pull request #403 from FranklinChen/fix-macos-build

On MacOS, build.sh installs arithmoi without llvm
parents b0bca8ae a77d792f
...@@ -57,7 +57,12 @@ done ...@@ -57,7 +57,12 @@ done
# Stick a "./" before everything. # Stick a "./" before everything.
INSTALL_DIRS=`echo $INSTALLS | tr ' ' '\n' | sed 's#^#./#' | tr ' ' '\n'` INSTALL_DIRS=`echo $INSTALLS | tr ' ' '\n' | sed 's#^#./#' | tr ' ' '\n'`
cabal install -j $INSTALL_DIRS --force-reinstalls
if [ `uname` = Darwin ]; then
cabal install --constraint "arithmoi -llvm" -j $INSTALL_DIRS --force-reinstalls
else
cabal install -j $INSTALL_DIRS --force-reinstalls
fi
# Finish installing ihaskell-diagrams. # Finish installing ihaskell-diagrams.
if [ $# -gt 0 ]; then if [ $# -gt 0 ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment