Changes between Version 16 and Version 17 of Building/Hacking


Ignore:
Timestamp:
Dec 5, 2006 9:32:40 AM (10 years ago)
Author:
simonmar
Comment:

note make -j

Legend:

Unmodified
Added
Removed
Modified
  • Building/Hacking

    v16 v17  
    198198However, note that the libraries are built without optimisation, so this build isn't very useful.  The stage 2 compiler will be very slow.
    199199
     200On a 4-core x86 machine using `make -j10`, this build was timed at less than 8 minutes.
     201
     202== Parallel builds ==
     203
     204The GHC build system works with make's `-j` flag, which spawns multiple compile processes in parallel.  Even on a single processor machine it's usually worthwhile using at least `make -j2`, because the I/O will be overlapped with compute-intensive compilation.  On a multicore machine, higher `-j` values will speed up the build even more.
     205
    200206== Full optimisation ==
    201207