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:
Bryan Richter 2025-11-20 19:16:01 +02:00
parent 4099ddf87e
commit 1a4328b7d9
No known key found for this signature in database
GPG Key ID: B202264020068BFB

View File

@ -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