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: else:
ghc-options: ghc-options:
- -Wall - -Wall
- -O2 - -O
executables: executables:
stackage-server: stackage-server:
main: main.hs main: main.hs
source-dirs: app source-dirs: app
ghc-options: -Wall -threaded -O2 -rtsopts "-with-rtsopts=-N -T" ghc-options: -Wall -threaded -O -rtsopts -with-rtsopts=-N
dependencies: dependencies:
- stackage-server - stackage-server
when: when:
@ -134,7 +134,7 @@ executables:
ghc-options: ghc-options:
- -Wall - -Wall
- -threaded - -threaded
- -O2 - -O
- -rtsopts - -rtsopts
- -with-rtsopts=-N - -with-rtsopts=-N
dependencies: dependencies:
@ -158,4 +158,4 @@ benchmarks:
- path-io - path-io
- casa-client - casa-client
ghc-options: ghc-options:
- -O2 - -O