GHC Compilation Options
Model based on a blog post Haskell Web Server in a 5MB Docker Image. The actual reference for build options is on GHC Haskell Wiki.
When building GHC compiler, one can choose from the following compilation options:
CompilationOptions
// should there be a LLVM version of the existing GHC?
xor buildFlavor
// [ llvm ] // should perfLlvm require choosing GHCBackend.llvm?
quick
perf
perfLlvm
xor INTEGER_LIBRARY
integer_gmp
integer_simple
And the available choices for GHC and LLVM:
enum GHC = GHC_784 | GHC_7101
enum LLVM = LLVM_34 | LLVM_35