On Wed, Mar 28, 2012 at 09:48:02PM +0000, Clint Adams wrote: > On Wed, Mar 28, 2012 at 11:40:50PM +0200, Iustin Pop wrote: > > - TH not supported on arches A, B, C & how to detect at build time > > DEB_SETUP_GHC_CONFIGURE_ARGS += $(shell test -e /usr/lib/ghc/bin/ghci || echo > --flags=-th) > > Also if your test suite relies on TH, you can do something like > > DEB_ENABLE_TESTS = $(shell test -e /usr/lib/ghc/bin/ghci && echo yes) > > > - threaded not supported on all arches, & how to detect at build time > > DEB_SETUP_GHC_CONFIGURE_ARGS += $(shell test -e > /usr/lib/ghc-$(GHC_VERSION)/libHSrts_thr.a || echo --flags=-threaded)
Many thanks, very useful! I will put these in the template (commented out, of course). > Note that the cabal flags are not standardized, and generally > not present upstream unless we have forwarded patches, as most > of the Hackage developers never face these problems themselves. Ack. thanks, iustin -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]
