[Git][ghc/ghc][wip/backports-9.0] More

Ben Gamari gitlab at gitlab.haskell.org
Mon Nov 30 02:31:11 UTC 2020



Ben Gamari pushed to branch wip/backports-9.0 at Glasgow Haskell Compiler / GHC


Commits:
751ece6f by Ben Gamari at 2020-11-29T21:31:01-05:00
More

- - - - -


1 changed file:

- hadrian/build-cabal


Changes:

=====================================
hadrian/build-cabal
=====================================
@@ -1,8 +1,9 @@
 #!/usr/bin/env bash
 
-CABAL=cabal
-CABFLAGS=("--disable-documentation" "--disable-profiling" "--disable-library-profiling" $CABFLAGS)
-( ${GHC:-ghc} --info | grep -s '("Support SMP","YES")' > /dev/null ) || CABFLAGS+=("--constraint=hadrian -threaded")
+CABAL="${CABAL:-cabal}"
+GHC="${GHC:-ghc}"
+CABFLAGS=("--with-compiler=$GHC" "--disable-documentation" "--disable-profiling" "--disable-library-profiling" $CABFLAGS)
+( $GHC --info | grep -s '("Support SMP","YES")' > /dev/null ) || CABFLAGS+=("--constraint=hadrian -threaded")
 
 # It is currently more robust to pass Cabal an absolute path to the project file.
 PROJ="$PWD/hadrian/cabal.project"



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/751ece6f52701e3cadb9d8da9612704ea2518f3c

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/751ece6f52701e3cadb9d8da9612704ea2518f3c
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201129/6afea83f/attachment.html>


More information about the ghc-commits mailing list