Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Allow disabling the threaded runtime via a cabal flag #144

Merged
merged 1 commit into from

2 participants

@nomeata

As discussed on debian-haskell.

@snoyberg snoyberg merged commit 56f4896 into yesodweb:master
@simonmichael simonmichael referenced this pull request in simonmichael/hledger
Closed

add a threaded build flag for easier packaging #68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 28, 2011
  1. @nomeata
This page is out of date. Refresh to see the latest.
Showing with 7 additions and 1 deletion.
  1. +7 −1 yesod/yesod.cabal
View
8 yesod/yesod.cabal
@@ -57,6 +57,10 @@ extra-source-files:
flag ghc7
+flag threaded
+ default: True
+ description: Build with support for multithreaded execution
+
library
if flag(ghc7)
build-depends: base >= 4.3 && < 5
@@ -103,7 +107,9 @@ executable yesod
, blaze-builder >= 0.2 && < 0.4
, filepath >= 1.1 && < 1.3
, process
- ghc-options: -Wall -threaded
+ ghc-options: -Wall
+ if flag(threaded)
+ ghc-options: -threaded
main-is: main.hs
other-modules: Scaffolding.CodeGen
Scaffolding.Scaffolder
Something went wrong with that request. Please try again.