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

On MacOS, build.sh installs arithmoi without llvm
This commit is contained in:
Andrew Gibiansky 2015-03-05 10:37:32 -08:00
commit 7c97ecd2d9

View File

@ -57,7 +57,12 @@ done
# Stick a "./" before everything.
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.
if [ $# -gt 0 ]; then