[Git][haskell-team/DHG_packages][master] haskell-hspec-hedgehog: add smp parameter

Gianfranco Costamagna (@locutusofborg) gitlab at salsa.debian.org
Tue Aug 13 13:48:03 BST 2024



Gianfranco Costamagna pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
d6f269f6 by Gianfranco Costamagna at 2024-08-13T14:47:23+02:00
haskell-hspec-hedgehog: add smp parameter

- - - - -


1 changed file:

- p/haskell-hspec-hedgehog/debian/rules


Changes:

=====================================
p/haskell-hspec-hedgehog/debian/rules
=====================================
@@ -5,5 +5,9 @@ DEB_SETUP_BIN_NAME = debian/hlibrary.setup
 DEB_CABAL_PACKAGE = hspec-hedgehog
 DEB_DEFAULT_COMPILER = ghc
 
+ifeq (no,$(shell ghc --info | grep -q 'Support SMP.*NO' && echo no))
+       DEB_SETUP_GHC_CONFIGURE_ARGS += -f-smp
+endif
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/d6f269f62c49a63ba8a28eb8f8ebcc0150029884

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/d6f269f62c49a63ba8a28eb8f8ebcc0150029884
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20240813/d0fdd3a2/attachment.htm>


More information about the Pkg-haskell-commits mailing list