Loading p/haskell-genvalidity/debian/changelog +6 −0 Original line number Diff line number Diff line haskell-genvalidity (0.4.0.4-2) unstable; urgency=medium * Don't build testsuite with -N on architectures without SMP support. -- Clint Adams <clint@debian.org> Fri, 27 Apr 2018 09:00:27 -0400 haskell-genvalidity (0.4.0.4-1) unstable; urgency=low * Initial release. Loading p/haskell-genvalidity/debian/patches/no--N 0 → 100644 +23 −0 Original line number Diff line number Diff line --- a/genvalidity.cabal +++ b/genvalidity.cabal @@ -59,12 +59,19 @@ Paths_genvalidity default-language: Haskell2010 +flag smp + description: build test with -N + default: True + test-suite genvalidity-test type: exitcode-stdio-1.0 main-is: Spec.hs hs-source-dirs: test - ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fno-warn-name-shadowing + if flag(smp) + ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fno-warn-name-shadowing + else + ghc-options: -threaded -Wall -fno-warn-name-shadowing build-depends: QuickCheck , base p/haskell-genvalidity/debian/patches/series 0 → 100644 +1 −0 Original line number Diff line number Diff line no--N p/haskell-genvalidity/debian/rules +4 −0 Original line number Diff line number Diff line Loading @@ -5,5 +5,9 @@ DEB_SETUP_BIN_NAME = debian/hlibrary.setup DEB_CABAL_PACKAGE = genvalidity 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 Loading
p/haskell-genvalidity/debian/changelog +6 −0 Original line number Diff line number Diff line haskell-genvalidity (0.4.0.4-2) unstable; urgency=medium * Don't build testsuite with -N on architectures without SMP support. -- Clint Adams <clint@debian.org> Fri, 27 Apr 2018 09:00:27 -0400 haskell-genvalidity (0.4.0.4-1) unstable; urgency=low * Initial release. Loading
p/haskell-genvalidity/debian/patches/no--N 0 → 100644 +23 −0 Original line number Diff line number Diff line --- a/genvalidity.cabal +++ b/genvalidity.cabal @@ -59,12 +59,19 @@ Paths_genvalidity default-language: Haskell2010 +flag smp + description: build test with -N + default: True + test-suite genvalidity-test type: exitcode-stdio-1.0 main-is: Spec.hs hs-source-dirs: test - ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fno-warn-name-shadowing + if flag(smp) + ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fno-warn-name-shadowing + else + ghc-options: -threaded -Wall -fno-warn-name-shadowing build-depends: QuickCheck , base
p/haskell-genvalidity/debian/patches/series 0 → 100644 +1 −0 Original line number Diff line number Diff line no--N
p/haskell-genvalidity/debian/rules +4 −0 Original line number Diff line number Diff line Loading @@ -5,5 +5,9 @@ DEB_SETUP_BIN_NAME = debian/hlibrary.setup DEB_CABAL_PACKAGE = genvalidity 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