me
/
guix
Archived
1
0
Fork 0

gnu: ghc-8.10: Fix build on i686-linux.

As one profiling test fails very repeatedly on the bordeaux build farm, but
ghc did seem to build successfully on other machines.

* gnu/packages/haskell.scm (ghc-8.10)[arguments]: Don't run the T11627a
profiling test on i686-linux.
Christopher Baines 2023-07-15 10:39:30 +01:00
parent 3755941f03
commit 36cbd2654e
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 4 additions and 1 deletions

View File

@ -1271,8 +1271,11 @@ interactive environment for the functional language Haskell.")
;; next rebuild. Note that they are required for GHC 8.10 and 9.2. ;; next rebuild. Note that they are required for GHC 8.10 and 9.2.
#$@(if (string-prefix? "i686" (or (%current-target-system) #$@(if (string-prefix? "i686" (or (%current-target-system)
(%current-system))) (%current-system)))
#~((add-after 'skip-failing-tests-i686 'skip-failing-tests-i686-cuirass #~((add-after 'skip-failing-tests-i686 'skip-more-failing-tests-i686
(lambda _ (lambda _
(substitute* '("testsuite/tests/profiling/should_run/all.T")
(("test\\('T11627a', \\[ ")
"test('T11627a', [ when(arch('i386'), skip), "))
(substitute* '("testsuite/driver/testlib.py") (substitute* '("testsuite/driver/testlib.py")
((".*changes being made to the file will invalidate the code signature.*") ((".*changes being made to the file will invalidate the code signature.*")
"") "")