openbsd-ports/lang/ghc/patches/patch-testsuite_mk_test_mk
kili b2e79ee47e Update to ghc-7.4.2, but keep it marked as broken (and not only for amd64).
Most of the -nopie changes are from pascal@ (thanks); I only had to
merge them for ghc-7.4 and tweak configure and mk/config.mk.in.
2012-09-02 19:53:46 +00:00

20 lines
560 B
Plaintext

$OpenBSD: patch-testsuite_mk_test_mk,v 1.2 2012/09/02 19:53:46 kili Exp $
Disable LLVM tests for now (until I unslack and debug why all LLVM
tests are failing).
--- testsuite/mk/test.mk.orig Wed Feb 1 19:11:16 2012
+++ testsuite/mk/test.mk Sat Jun 9 21:36:25 2012
@@ -95,11 +95,7 @@ else
RUNTEST_OPTS += -e ghc_with_smp=0
endif
-ifneq "$(shell $(SHELL) -c 'llvmc --version | grep version' 2> /dev/null)" ""
-RUNTEST_OPTS += -e ghc_with_llvm=1
-else
RUNTEST_OPTS += -e ghc_with_llvm=0
-endif
ifeq "$(WINDOWS)" "YES"
RUNTEST_OPTS += -e windows=True