<div dir="ltr">theory one:<div><br></div><div>are you setting the intree gmp flag? and/orĀ  dont have gmp the library installed? maybe your ghc is using integer simple!</div><div><br></div><div>theory two: dont set -j greater than about 8 or perhaps 16? (some parts of ghc are slower on too paralle a setup?)</div><div><br></div><div>those are my two off the cuff guesses</div><div><br></div><div>you could also look at system monitor to see if your'e being IO bound or memory or CPU bound</div><div>(possible failure siutation: the repo is under dropbox or something and dropbox is eating your memory bandwidth trying to sync stuff?)</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 26, 2018 at 2:33 PM Richard Eisenberg <<a href="mailto:rae@cs.brynmawr.edu">rae@cs.brynmawr.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi devs,<br>
<br>
I have a shiny, new iMac in my office. It's thus frustrating that it takes my iMac longer to build GHC than my trusty 28-month-old laptop. Building devel2 on a fresh checkout takes just about an hour. By contrast, my laptop is done after 30 minutes of work (same build settings). The laptop has a 2.8GHz Intel i7 running macOS 10.13.5; the desktop has a 3.5GHz Intel i5 running macOS 10.13.6. Both bootstrapped from the binary distro of GHC 8.6.1.<br>
<br>
Watching GHC build, everything is snappy enough during the stage-1 build. But then, as soon as we start using GHC-produced executables, things slow down. It's most noticeable in the rts_dist_HC phase, which crawls. Stage 2 is pretty slow, too.<br>
<br>
So: is there anything anyone knows about recent Macs not liking locally built executables? Or is there some local setting that I need to update? The prepackaged GHC seems to work well, so that gives me hope that someone knows what setting to tweak.<br>
<br>
Thanks!<br>
Richard<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div>