mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-11 19:58:28 +01:00
Default rtsopts tweaks
-T as a default is odd -- let's do that at runtime. -O2 is usually not what you want.
This commit is contained in:
parent
4099ddf87e
commit
1a4328b7d9
@ -107,13 +107,13 @@ library:
|
||||
else:
|
||||
ghc-options:
|
||||
- -Wall
|
||||
- -O2
|
||||
- -O
|
||||
|
||||
executables:
|
||||
stackage-server:
|
||||
main: main.hs
|
||||
source-dirs: app
|
||||
ghc-options: -Wall -threaded -O2 -rtsopts "-with-rtsopts=-N -T"
|
||||
ghc-options: -Wall -threaded -O -rtsopts -with-rtsopts=-N
|
||||
dependencies:
|
||||
- stackage-server
|
||||
when:
|
||||
@ -134,7 +134,7 @@ executables:
|
||||
ghc-options:
|
||||
- -Wall
|
||||
- -threaded
|
||||
- -O2
|
||||
- -O
|
||||
- -rtsopts
|
||||
- -with-rtsopts=-N
|
||||
dependencies:
|
||||
@ -158,4 +158,4 @@ benchmarks:
|
||||
- path-io
|
||||
- casa-client
|
||||
ghc-options:
|
||||
- -O2
|
||||
- -O
|
||||
|
||||
Loading…
Reference in New Issue
Block a user