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/flavours | |
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/flavours')
-rw-r--r-- | mk/flavours/bench-cross-ncg.mk | 17 | ||||
-rw-r--r-- | mk/flavours/perf-cross-ncg.mk | 16 | ||||
-rw-r--r-- | mk/flavours/quick-cross-ncg.mk | 17 |
3 files changed, 50 insertions, 0 deletions
diff --git a/mk/flavours/bench-cross-ncg.mk b/mk/flavours/bench-cross-ncg.mk new file mode 100644 index 0000000000..6b686af5c4 --- /dev/null +++ b/mk/flavours/bench-cross-ncg.mk @@ -0,0 +1,17 @@ +SRC_HC_OPTS = -O -H64m +GhcStage1HcOpts = -O +GhcStage2HcOpts = -O0 +GhcLibHcOpts = -O2 +BUILD_PROF_LIBS = NO +SplitObjs = NO +SplitSections = NO +HADDOCK_DOCS = NO +BUILD_SPHINX_HTML = NO +BUILD_SPHINX_PDF = NO +BUILD_MAN = NO +WITH_TERMINFO = NO + +INTEGER_LIBRARY = integer-simple +Stage1Only = YES +DYNAMIC_BY_DEFAULT = NO +DYNAMIC_GHC_PROGRAMS = NO diff --git a/mk/flavours/perf-cross-ncg.mk b/mk/flavours/perf-cross-ncg.mk new file mode 100644 index 0000000000..4b94c48805 --- /dev/null +++ b/mk/flavours/perf-cross-ncg.mk @@ -0,0 +1,16 @@ +SRC_HC_OPTS = -O -H64m +GhcStage1HcOpts = -O2 +GhcStage2HcOpts = -O2 +GhcLibHcOpts = -O2 +BUILD_PROF_LIBS = YES +#SplitObjs +HADDOCK_DOCS = NO +BUILD_SPHINX_HTML = NO +BUILD_SPHINX_PDF = NO +BUILD_MAN = NO +WITH_TERMINFO = NO + +INTEGER_LIBRARY = integer-simple +Stage1Only = YES +DYNAMIC_BY_DEFAULT = NO +DYNAMIC_GHC_PROGRAMS = NO diff --git a/mk/flavours/quick-cross-ncg.mk b/mk/flavours/quick-cross-ncg.mk new file mode 100644 index 0000000000..97352ccd3e --- /dev/null +++ b/mk/flavours/quick-cross-ncg.mk @@ -0,0 +1,17 @@ +SRC_HC_OPTS = -O0 -H64m +GhcStage1HcOpts = -O +GhcStage2HcOpts = -O0 +GhcLibHcOpts = -O +BUILD_PROF_LIBS = NO +SplitObjs = NO +SplitSections = NO +HADDOCK_DOCS = NO +BUILD_SPHINX_HTML = NO +BUILD_SPHINX_PDF = NO +BUILD_MAN = NO +WITH_TERMINFO = NO + +INTEGER_LIBRARY = integer-simple +Stage1Only = YES +DYNAMIC_BY_DEFAULT = NO +DYNAMIC_GHC_PROGRAMS = NO |