patch around test rts -N4 failure on s390x and aarch64
This commit is contained in:
parent
11ab0f34de
commit
74888983bc
|
@ -0,0 +1,11 @@
|
||||||
|
--- extra-1.5.3/extra.cabal~ 2017-06-13 06:58:38.000000000 +0900
|
||||||
|
+++ extra-1.5.3/extra.cabal 2018-01-09 20:24:52.221337034 +0900
|
||||||
|
@@ -74,7 +74,7 @@
|
||||||
|
if !os(windows)
|
||||||
|
build-depends: unix
|
||||||
|
hs-source-dirs: test
|
||||||
|
- ghc-options: -main-is Test -threaded "-with-rtsopts=-N4 -K1K"
|
||||||
|
+ ghc-options: -main-is Test -threaded "-with-rtsopts=-K1K"
|
||||||
|
main-is: Test.hs
|
||||||
|
other-modules:
|
||||||
|
TestCustom
|
|
@ -14,6 +14,7 @@ Summary: Extra Haskell functions
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
|
Patch0: extra-No-test--N.patch
|
||||||
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
|
@ -58,7 +59,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkgver}
|
%setup -q -n %{pkgver}
|
||||||
|
%ifarch aarch64 s390x
|
||||||
|
%patch0 -p1 -b .orig
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
@ -91,3 +94,4 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Dec 21 2017 Jens Petersen <petersen@redhat.com> - 1.5.3-1
|
* Thu Dec 21 2017 Jens Petersen <petersen@redhat.com> - 1.5.3-1
|
||||||
- spec file generated by cabal-rpm-0.12
|
- spec file generated by cabal-rpm-0.12
|
||||||
|
- test RTS -N4 failing on aarch64 and s390x
|
||||||
|
|
Loading…
Reference in New Issue