hs-boehmgc/buildsystem: rm of tempdir after cabal install caused problems with foreig...
authorHarald Steinlechner <haraldsteinlechner@gmail.com>
Fri, 24 Aug 2012 09:21:46 +0000 (11:21 +0200)
committerHarald Steinlechner <haraldsteinlechner@gmail.com>
Fri, 24 Aug 2012 09:21:46 +0000 (11:21 +0200)
there are two possible fixes:
- ship hs-boehmgc with libgc
- patch cabal install dirs into cabal file in Setup.hs

.gitignore
tools/installhaskellenv.sh

index a4c62b8a6532faefeeeb7ea68e395ec4dd6b4a66..d48b83db78856e970908ac4a43490596346c91fa 100644 (file)
@@ -13,3 +13,4 @@ tags
 *.o-boot
 dist
 *.jar
+tools/hs-boehmgc
index 5bbe9914c2d5b36ff7a05b609a6012664aaf51fd..ea663decab0bb4a08e636f9c40a76ae15c6e1200 100755 (executable)
@@ -15,13 +15,12 @@ function gitinstall {
 #my Setup.hs - as workaround i invoke runhaskell Setup.hs etc directly
 function gitinstallWithCustomSetup {
        url=$1
-       git clone $url tmprepo
-       cd tmprepo
+       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 tmprepo
 }
 
 rm -rf ~/.ghc ~/.cabal