ghc.ppc64le rts does not have -rtsopts=-N
This commit is contained in:
parent
b28a771fdf
commit
ceb37cfe1c
10
colourista-testsuite-ppc.patch
Normal file
10
colourista-testsuite-ppc.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- colourista-0.1.0.1/colourista.cabal~ 2001-09-09 09:46:40.000000000 +0800
|
||||||
|
+++ colourista-0.1.0.1/colourista.cabal 2023-02-17 09:22:56.784571275 +0800
|
||||||
|
@@ -89,5 +89,6 @@
|
||||||
|
, text
|
||||||
|
|
||||||
|
ghc-options: -threaded
|
||||||
|
- -rtsopts
|
||||||
|
+ if(!arch(ppc64))
|
||||||
|
+ ghc-options: -rtsopts
|
||||||
|
-with-rtsopts=-N
|
@ -19,6 +19,7 @@ Url: https://hackage.haskell.org/package/%{pkg_name}
|
|||||||
# Begin cabal-rpm sources:
|
# Begin cabal-rpm sources:
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
# End cabal-rpm sources
|
# End cabal-rpm sources
|
||||||
|
Patch0: colourista-testsuite-ppc.patch
|
||||||
|
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
@ -82,6 +83,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
# Begin cabal-rpm setup:
|
# Begin cabal-rpm setup:
|
||||||
%setup -q -n %{pkgver}
|
%setup -q -n %{pkgver}
|
||||||
# End cabal-rpm setup
|
# End cabal-rpm setup
|
||||||
|
%patch0 -p1 -b .orig
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user