Skip to content

Commit

Permalink
ghc: note other build flavours
Browse files Browse the repository at this point in the history
  • Loading branch information
echawk committed Aug 11, 2024
1 parent 7655c24 commit 1881169
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion langs/ghc/build
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1881169

Please sign in to comment.