Changes between Version 1 and Version 2 of howto/ParallelBuilding


Ignore:
Timestamp:
Feb 18, 2008, 3:47:27 PM (16 years ago)
Author:
raimue (Rainer Müller)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • howto/ParallelBuilding

    v1 v2  
    2020and change it to the number of parallel build jobs you want to use. It is common to either use the number of cores or number of cores+1. If you set it to `0`, it will automatically take the number of cores you have.
    2121
    22 That was it.
     22That was it. From now on, port will use parallel build jobs.
    2323
    24 == Note == 
     24== Note ==
    2525
    26 Please note that this is opt-in. It will only work with ports specifying `use_parallel_build  yes` as some developers are concerned it might break ports which have insufficient dependencies in their Makefiles.
     26Please note that this feature is opt-in. It will only work with ports specifying
     27{{{
     28use_parallel_build  yes
     29}}}
     30Some developers are concerned it might break ports which have insufficient dependencies in their Makefiles.
     31
     32If any port still does not build with this feature, see above how to disable it from command line for a specific port and open a ticket in our bug tracker or report it upstream.
     33
     34== Enable/disable from command line ==
     35
     36This feature can also be enabled or disabled from command line.
     37{{{
     38$ port install $portname build.jobs=N
     39}}}
     40Where N is the number of parallel build jobs to use. If you specify `build.jobs=1` it will be disabled.
    2741
    2842[wiki:howto <- Back to the HOWTO section]