support compilation of ghc 8.8.1+
This commit is contained in:
parent
4bf9bbf72f
commit
8bde9b9365
6
ghcup
6
ghcup
@ -1773,7 +1773,11 @@ compile_ghc() {
|
||||
|
||||
|
||||
edo ./boot
|
||||
edo ./configure --prefix="${inst_location}" --with-ghc="${bootstrap_ghc}"
|
||||
if echo "${myghcver}" | sed 's/[.]//g' | awk '{ exit ($0 < 881) ? 0 : 1 }' ; then
|
||||
edo ./configure --prefix="${inst_location}" --with-ghc="${bootstrap_ghc}"
|
||||
else
|
||||
GHC=$(which ${bootstrap_ghc}) edo ./configure --prefix="${inst_location}"
|
||||
fi
|
||||
emake -j${JOBS}
|
||||
emake install
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user