generated from coulomb/repo-seed
feat(build): tune GHC for haskelseed (8 CPU / 30 GiB)
Some checks failed
Test / test (push) Has been cancelled
Some checks failed
Test / test (push) Has been cancelled
- .ghci: -j1 → -j4 for parallel module compilation - scripts/compile-check: auto-detect high-RAM hosts (>16GB) and set GHCRTS="-A256m -M20g" to reduce GC pressure - devenv.nix: update comment only (GHCRTS still set at runtime) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
# ── Resource limits (constrained host: 2 CPU / ~3.8 GiB RAM) ─────────────
|
||||
# -A32m: smaller minor heap; -M2g: hard heap ceiling.
|
||||
# -N1 omitted: requires -threaded, which breaks IHP tools.
|
||||
# GHC parallel module compilation is capped via -j1 in .ghci.
|
||||
# GHC parallel module compilation is capped via -j4 in .ghci.
|
||||
env.GHCRTS = "-A32m -M2g";
|
||||
|
||||
# ── IHP environment variables ─────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user