From 188116936c05516b26b531cf73217a9300a0a73b Mon Sep 17 00:00:00 2001 From: Ethan Date: Sun, 11 Aug 2024 17:49:28 -0500 Subject: [PATCH] ghc: note other build flavours --- langs/ghc/build | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/langs/ghc/build b/langs/ghc/build index 0db38ec4..a092dba2 100755 --- a/langs/ghc/build +++ b/langs/ghc/build @@ -10,4 +10,13 @@ export DESTDIR="$1" sed -e 's/unknown/pc/g' llvm-targets > _ mv -f _ llvm-targets -./hadrian/build install --prefix="/usr" -j --flavour=quickest+no_profiled_libs --docs=none --skip-depends +# for the fastest haskell impl, change flavour to: +# perf+llvm +# can also add '+fully_static' for a static haskell. +# https://gitlab.haskell.org/ghc/ghc/blob/master/hadrian/doc/flavours.md +./hadrian/build \ + install --prefix="/usr" \ + -j \ + --flavour=quickest+no_profiled_libs+omit_pragmas \ + --docs=none \ + --skip-depends