summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Trommler <ptrommler@acm.org>2016-12-26 10:04:54 -0500
committerBen Gamari <ben@smart-cactus.org>2016-12-27 12:44:25 -0500
commit4dec7d191fbc26276cc2c8306d9d03e71e277979 (patch)
treeb7dbe0c3ebd757acdac5f0459e6dfd1fa6704278 /configure.ac
parent88f5add0280788d424c9df5f751a73e73a1a4284 (diff)
downloadhaskell-4dec7d191fbc26276cc2c8306d9d03e71e277979.tar.gz
Testsuite: Skip failing tests on PowerPC 64-bit
The Power ISA says the result of a division by zero is undefined. So ignore stdout on PowerPC 64-bit systems. Disable ext-interp tests on 64-bit PowerPC. We don't have support for PowerPC 64-bit ELF in the RTS linker, which is needed for the external interpreter. Test Plan: ./validate Reviewers: austin, simonmar, hvr, erikd, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2782
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0312aed44c..3ccaf1ef58 100644
--- a/configure.ac
+++ b/configure.ac
@@ -262,6 +262,18 @@ AC_ARG_ENABLE(unregisterised,
)
AC_SUBST(Unregisterised)
+dnl ** Does target have runtime linker support?
+dnl --------------------------------------------------------------
+case "$target" in
+ powerpc64-*|powerpc64le-*|powerpc-ibm-aix*)
+ HaskellHaveRTSLinker=NO
+ ;;
+ *)
+ HaskellHaveRTSLinker=YES
+ ;;
+esac
+AC_SUBST(HaskellHaveRTSLinker)
+
# Requires FPTOOLS_SET_PLATFORM_VARS to be run first.
FP_FIND_ROOT