[commit: ghc] wip/ncg-test-criterion: Introduce ncg config flag (91f67f4)
git at git.haskell.org
git at git.haskell.org
Sun Dec 30 12:39:08 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/ncg-test-criterion
Link : http://ghc.haskell.org/trac/ghc/changeset/91f67f479a01c7819a66e2f124bfead985fe29ed/ghc
>---------------------------------------------------------------
commit 91f67f479a01c7819a66e2f124bfead985fe29ed
Author: Gabor Greif <ggreif at gmail.com>
Date: Sun Dec 30 10:57:46 2018 +0100
Introduce ncg config flag
>---------------------------------------------------------------
91f67f479a01c7819a66e2f124bfead985fe29ed
testsuite/config/ghc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index 247ddb8..24294da 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -158,6 +158,8 @@ def get_compiler_info():
s = re.sub('[\r\n]', '', s)
rtsInfoDict = dict(eval(s))
+ config.have_ncg = compilerInfoDict.get("Have native code generator", "NO") == "YES"
+
# external interpreter needs RTS linker support
# If the field is not present (GHC 8.0 and earlier), assume we don't
# have -fexternal-interpreter (though GHC 8.0 actually does)
More information about the ghc-commits
mailing list