workaround to compile error and MAKEFLAGS from /etc/makepkg.conf #1

Merged
merged 2 commits into from Feb 5, 2013

Projects

None yet

2 participants

@atondwal

As Nathan points out, due to a known bug in ghc, you should run make twice in your script when building ghc. (it'll always fail with expectJust initTcInteractive the first time you try to build it fresh)

Additional, since we're already somewhat arch-specific, we should source /etc/makepkg.conf to get the makeflags instead of using just -j6 (on my system I use -j12 for example) I was wondering why my load averages were so low before I realized you set -j manually.

atondwal added some commits Feb 5, 2013
@atondwal atondwal Runs make twice while building ghc
Due to a known bug in ghc, make will always fail with `expectJust
initTcInteractive` the first time you try to build it
5c5c11d
@atondwal atondwal MAKEFLAGS from /etc/makepkg.conf
Rather than setting them ourselves, we take the MAKEFLAGS from
the systemwide configuration (at least on Arch)
e79da29
@neurocyte neurocyte merged commit 708d97f into neurocyte:master Feb 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment