nh2/link-with-lld-example

Example how to link Haskell programs very quickly with lld

Haskell

48

4 commits

updated Apr 13, 2017

See the code

README

Linking with lld in Haskell builds

10x 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.

Bugs

cabal bugs that prevent using lld in the library linking step:

You can't currently use lld correctly in nix because of this bug:

Contributors

nh2

4 commits

nh2/link-with-lld-example

Example how to link Haskell programs very quickly with lld

Haskell

48

4 commits

updated Apr 13, 2017

See the code

README

Linking with lld in Haskell builds

10x 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.

Bugs

cabal bugs that prevent using lld in the library linking step:

You can't currently use lld correctly in nix because of this bug:

Contributors

nh2

4 commits

Languages

Haskell

100.0%