File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,7 +254,11 @@ executable cardano-db-sync
254254 -Wno-unsafe
255255 -threaded
256256 -rtsopts
257- "-with-rtsopts=-A16m -N3 --disable-delayed-os-memory-return"
257+
258+ if arch(arm)
259+ ghc-options : "-with-rtsopts=-T -I0 -A16m -N1 --disable-delayed-os-memory-return"
260+ else
261+ ghc-options : "-with-rtsopts=-T -I0 -A16m -qg1 -qb1 -N2 --disable-delayed-os-memory-return"
258262
259263 autogen-modules : Paths_cardano_db_sync
260264 MigrationValidations
@@ -293,7 +297,11 @@ executable http-get-json-metadata
293297 -Wno-unsafe
294298 -threaded
295299 -rtsopts
296- "-with-rtsopts=-A16m -N3 --disable-delayed-os-memory-return"
300+
301+ if arch(arm)
302+ ghc-options : "-with-rtsopts=-T -I0 -A16m -N1 --disable-delayed-os-memory-return"
303+ else
304+ ghc-options : "-with-rtsopts=-T -I0 -A16m -qg1 -qb1 -N2 --disable-delayed-os-memory-return"
297305
298306 build-depends : base
299307 , ansi-terminal
@@ -324,7 +332,11 @@ executable test-http-get-json-metadata
324332 -Wno-unsafe
325333 -threaded
326334 -rtsopts
327- "-with-rtsopts=-A16m -N3 --disable-delayed-os-memory-return"
335+
336+ if arch(arm)
337+ ghc-options : "-with-rtsopts=-T -I0 -A16m -N1 --disable-delayed-os-memory-return"
338+ else
339+ ghc-options : "-with-rtsopts=-T -I0 -A16m -qg1 -qb1 -N2 --disable-delayed-os-memory-return"
328340
329341 build-depends : base
330342 , bytestring
You can’t perform that action at this time.
0 commit comments