Example how to link Haskell programs very quickly with lld
Haskell
48
4 commits
updated Apr 13, 2017
lld in Haskell builds10x faster than ld in the linkin steps, 3x faster than gold.
Use cabal configure --with-gcc=clang --with-ld=clang, then cabal build.
See the .cabal file for what options are needed.
cabal bugs that prevent using lld in the library linking step:
You can't currently use lld correctly in nix because of this bug:
4 commits
Haskell
100.0%
Example how to link Haskell programs very quickly with lld
Haskell
48
4 commits
updated Apr 13, 2017
lld in Haskell builds10x faster than ld in the linkin steps, 3x faster than gold.
Use cabal configure --with-gcc=clang --with-ld=clang, then cabal build.
See the .cabal file for what options are needed.
cabal bugs that prevent using lld in the library linking step:
You can't currently use lld correctly in nix because of this bug:
4 commits
Haskell
100.0%