[commit: ghc] wip/nfs-locking: Add -threaded to ghc options. (bf60359)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:54:39 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/bf60359360e91bf41773efbd7facdfda3b399c7c/ghc

>---------------------------------------------------------------

commit bf60359360e91bf41773efbd7facdfda3b399c7c
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Mon Apr 11 00:27:21 2016 +0100

    Add -threaded to ghc options.


>---------------------------------------------------------------

bf60359360e91bf41773efbd7facdfda3b399c7c
 build.bat            | 1 +
 build.sh             | 1 +
 shaking-up-ghc.cabal | 5 ++++-
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/build.bat b/build.bat
index 465d957..2f6d4cd 100644
--- a/build.bat
+++ b/build.bat
@@ -6,6 +6,7 @@
              -fno-warn-name-shadowing ^
              -XRecordWildCards        ^
              src/Main.hs              ^
+             -threaded                ^
              -isrc                    ^
              -rtsopts                 ^
              -with-rtsopts=-I0        ^
diff --git a/build.sh b/build.sh
index 7c070e9..95de2e6 100755
--- a/build.sh
+++ b/build.sh
@@ -40,6 +40,7 @@ ghc                           \
     -i"$root/src"             \
     -rtsopts                  \
     -with-rtsopts=-I0         \
+    -threaded                 \
     -outputdir="$root/.shake" \
     -j -O                     \
     -o "$root/.shake/build"
diff --git a/shaking-up-ghc.cabal b/shaking-up-ghc.cabal
index fc0744d..8ef820f 100644
--- a/shaking-up-ghc.cabal
+++ b/shaking-up-ghc.cabal
@@ -127,4 +127,7 @@ executable ghc-shake
                        , shake                == 0.15.*
                        , transformers         >= 0.4 && < 0.6
                        , unordered-containers == 0.2.*
-    ghc-options:         -Wall -fno-warn-name-shadowing -rtsopts -with-rtsopts=-I0
+    ghc-options:         -Wall
+                         -fno-warn-name-shadowing
+                         -rtsopts -with-rtsopts=-I0
+                         -threaded



More information about the ghc-commits mailing list