diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2018-03-02 16:15:09 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-03-02 16:15:23 -0500 |
commit | e4dcebf899c796a13dabf8964038f78505b9f4ec (patch) | |
tree | e5e25694e9cf6833e106a6aeff37c43f5fa083ed /mk/build.mk.sample | |
parent | 7782b47c4193975123edd3af630e6fe59ac7ef73 (diff) | |
download | haskell-e4dcebf899c796a13dabf8964038f78505b9f4ec.tar.gz |
Adds *-cross-ncg flavour.
Our *-cross flavours force -fllvm, this adds flavours for cross
compilation to x86_64, where we can use our native code generator.
Test Plan: ./validate
Reviewers: bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie, carter
Differential Revision: https://phabricator.haskell.org/D4443
Diffstat (limited to 'mk/build.mk.sample')
-rw-r--r-- | mk/build.mk.sample | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/mk/build.mk.sample b/mk/build.mk.sample index 958cea72a3..ce7b4d65bf 100644 --- a/mk/build.mk.sample +++ b/mk/build.mk.sample @@ -13,17 +13,23 @@ # As above but build GHC using the LLVM backend #BuildFlavour = perf-llvm -# Perf build configured for a cross-compiler +# Perf build configured for a cross-compiler (using the LLVM backend) #BuildFlavour = perf-cross +# Perf build configured for a cross-compiler (using the NCG backend) +#BuildFlavour = perf-cross-ncg + # Fast build with optimised libraries, no profiling (RECOMMENDED): #BuildFlavour = quick # Fast build with optimised libraries, no profiling, with LLVM: #BuildFlavour = quick-llvm -# Fast build configured for a cross compiler -#BuildFlavour = quick-cross +# Fast build configured for a cross compiler (using the LLVM backend) +#BuildFlavour = quick-cross + +# Fast build configured for a cross compiler (using the NCG backend) +#BuildFlavour = quick-cross-ncg # Even faster build. NOT RECOMMENDED: the libraries will be # completely unoptimised, so any code built with this compiler @@ -51,9 +57,12 @@ # As above but build GHC using the LLVM backend #BuildFlavour = bench-llvm -# Bench build configured for a cross-compiler +# Bench build configured for a cross-compiler (using the LLVM backend) #BuildFlavour = bench-cross +# Bench build configured for a cross-compiler (using the NCG backend) +#BuildFlavour = bench-cross-ncg + # Use the same settings as validate. #BuildFlavour = validate |