by frou_dh · 9y ago · 0 comments
It's a bit like `checkbashisms` but a lot more expansive and with formal classification of the warnings.
Also, every rule in shellcheck has a corresponding github wiki page which describes the issues and common fixes. For example SC2002 (https://github.com/koalaman/shellcheck/wiki/SC2002)
EDIT: "and requires 2GB of RAM to compile." whaaat?
I'm very surprised you've been getting by with less than a gig. What's your arch and GHC version, if you don't mind?
Older GHC versions appeared to use significantly less RAM, and I imagine 32bit pointers would save a lot.
Your guess is right, I do my builds in Debian 8 with ghc and cabal from the repository. I do cabal update before compilation but I don't think this upgrades the ghc so the details should be like:
arch: i686
ghc: 7.6.3
I also use these arguments for cabal install but no idea if they affect anything:
--disable-documentation --enable-split-objs --ghc-options='-static -optc-static -optl-static -optl-pthread'