[ghc] try "make -j16" on Intel arches to keep ABI hashes same as -40

Jens Petersen petersen at fedoraproject.org
Sat Feb 14 16:07:56 UTC 2015


commit f8a0b1d0a643acdaf347eb53ce5b443cd6478956
Author: Jens Petersen <petersen at redhat.com>
Date:   Sun Feb 15 01:06:21 2015 +0900

    try "make -j16" on Intel arches to keep ABI hashes same as -40

 ghc.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ghc.spec b/ghc.spec
index 087f64d..ac1fa22 100644
--- a/ghc.spec
+++ b/ghc.spec
@@ -31,7 +31,7 @@ Version: 7.8.4
 #   (sometimes after a major release)
 # - minor release numbers for a branch should be incremented monotonically
 # xhtml moved from haskell-platform to ghc-7.8.3
-Release: 41%{?dist}
+Release: 42%{?dist}
 Summary: Glasgow Haskell Compiler
 
 License: %BSDHaskellReport
@@ -343,6 +343,10 @@ export LDFLAGS="${LDFLAGS:-%__global_ldflags}"
 
 # avoid "ghc: hGetContents: invalid argument (invalid byte sequence)"
 export LANG=en_US.utf8
+echo %{?_smp_mflags}
+%ifarch %{ix86} x86_64
+%global _smp_mflags -j16
+%endif
 make %{?_smp_mflags}
 
 
@@ -540,6 +544,9 @@ fi
 
 
 %changelog
+* Sat Feb 14 2015 Jens Petersen <petersen at redhat.com> - 7.8.4-42
+- try "make -j16" on Intel arches to keep ABI hashes same as -40
+
 * Mon Feb  9 2015 Jens Petersen <petersen at redhat.com> - 7.8.4-41
 - update the arm64 patch for 7.8.4
 - all archs have bindir/ghci


More information about the scm-commits mailing list