X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=tools%2Finstallhaskellenv.sh;h=ea663decab0bb4a08e636f9c40a76ae15c6e1200;hb=9c9a4d2b3c41546fc7995b106181ef4f987f4281;hp=893cc954f2da406d4952f36c88199602ed3a57dc;hpb=84f98a331062d30a12e1e55460381a149e837d8f;p=mate.git diff --git a/tools/installhaskellenv.sh b/tools/installhaskellenv.sh index 893cc95..ea663de 100755 --- a/tools/installhaskellenv.sh +++ b/tools/installhaskellenv.sh @@ -11,6 +11,18 @@ function gitinstall { rm -rf tmprepo } +#hs: i ran into the problem that cabal install does not execute +#my Setup.hs - as workaround i invoke runhaskell Setup.hs etc directly +function gitinstallWithCustomSetup { + url=$1 + git clone $url hs-boehmgc + cd hs-boehmgc + runhaskell Setup.hs configure --user $CABAL_OPT + runhaskell Setup.hs build + runhaskell Setup.hs install + cd .. +} + rm -rf ~/.ghc ~/.cabal cabal update cabal install cabal-install $CABAL_OPT @@ -28,4 +40,6 @@ cabal install disassembler $CABAL_OPT # cabal install harpy $CABAL_OPT gitinstall git://wien.tomnetworks.com/harpy.git +gitinstallWithCustomSetup git://wien.tomnetworks.com/hs-boehmgc.git + echo DONE