Changeset 33778 for trunk/doc-new


Ignore:
Timestamp:
Feb 5, 2008, 4:41:40 AM (11 years ago)
Author:
markd@…
Message:

#14164. Clarify use_parallel_builds and reference buildmakejobs as gueested by Ryan.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/guide/xml/portfile-phase.xml

    r33461 r33778  
    16681668          added for you, as they may be just build- or also run-dependencies.
    16691669          Keep in mind that not all compiler suites might be available on your
    1670           platform: <option>gcc-3.3</option> is available on Mac OS X 10.3
    1671           and 10.4 PowerPC, <option>gcc-4.0</option> is available on 10.4
    1672           and 10.5, <option>gcc-4.2</option> is available as preview for
     1670          platform: <option>gcc-3.3</option> is available on Mac OS X 10.3 and
     1671          10.4 PowerPC, <option>gcc-4.0</option> is available on 10.4 and
     1672          10.5, <option>gcc-4.2</option> is available as preview for
    16731673          10.5.</para>
     1674
    16741675          <para>Only use it if a port really needs a different
    16751676          compiler.</para>
     
    16771678          <itemizedlist>
    16781679            <listitem>
    1679               <para>Default: <option>gcc-3.3</option> on Mac OS X
    1680               10.3</para>
     1680              <para>Default: <option>gcc-3.3</option> on Mac OS X 10.3</para>
    16811681            </listitem>
    16821682
     
    23642364        <listitem>
    23652365          <para>This keyword is for specifying whether or not it is safe for a
    2366           port to use multiple cpus or multiple cores in parallel during its
    2367           build phase. If a port is declared to be builadble this way, the
    2368           option <option>-j N</option> may be passed to the
    2369           <command>make</command> command if parallel builds are enabled
    2370           system-wide. This can be obtained by setting
    2371           <varname>buildmakejobs</varname> in
    2372           <filename>macports.conf</filename>. The integer <option>N</option>
    2373           refers to the number of parallel build threads.</para>
     2366          port to use multiple CPUs or multiple cores in parallel during its
     2367          build phase. If <code>use_parallel_build</code> is set to
     2368          <quote>yes</quote> in a given port, the option <option>-j N</option>
     2369          is passed to the <command>make</command> command where
     2370          <option>N</option> represents the number of parallel build threads
     2371          defined by the variable <varname>buildmakejobs</varname> in
     2372          <filename>macports.conf</filename>. The default value of
     2373          <varname>buildmakejobs</varname> is set to 1, therefore unless this
     2374          variable is increased for a given MacPorts installation, parallel
     2375          builds will not occur in any case.</para>
    23742376
    23752377          <itemizedlist>
     
    24542456          </itemizedlist>
    24552457        </listitem>
    2456 
    24572458      </varlistentry>
    24582459    </variablelist>
Note: See TracChangeset for help on using the changeset viewer.