[Haskell-cafe] To LLVM or not to LLVM...

Peter Simons simons at cryp.to
Tue Jan 28 14:07:03 UTC 2014


Hi Ian,

 > What's the best thing to do? Use the native code generator by default
 > and add a Cabal flag to install using LLVM?

I would assume that everybody who wants to compile your package with
LLVM can simply configure the build with "--ghc-option=-fllvm", no?

A Cabal flag for the same purpose might make sense, IMHO, if there are
other build parameters that change when compiling with LLVM (like CPP
defines, etc.), but it's my understanding that this is not the case?

Take care,
Peter



More information about the Haskell-Cafe mailing list