mirror of
https://review.haiku-os.org/buildtools
synced 2025-01-18 12:28:37 +01:00
Created new jam variable JAMJOBS, which is set by the -jx flag.
This commit is contained in:
parent
ed5b974772
commit
9ceedecc39
@ -1134,6 +1134,7 @@ jam [ -a ] [ -g ] [ -n ] [ -q ] [ -v ]
|
|||||||
<TABLE WIDTH=75% ALIGN=CENTER>
|
<TABLE WIDTH=75% ALIGN=CENTER>
|
||||||
|
|
||||||
<TR><TD>JAMDATE<TD>Time and date at <b>jam</b> start-up.
|
<TR><TD>JAMDATE<TD>Time and date at <b>jam</b> start-up.
|
||||||
|
<TR><TD>JAMJOBS<TD>Number of shell commands to run concurrently, as specified by jam -jx.
|
||||||
<TR><TD>JAMUNAME<TD>Ouput of <b>uname</b>(1) command (Unix only)
|
<TR><TD>JAMUNAME<TD>Ouput of <b>uname</b>(1) command (Unix only)
|
||||||
<TR><TD>JAMVERSION<TD><b>jam</b> version, as reported by jam -v.
|
<TR><TD>JAMVERSION<TD><b>jam</b> version, as reported by jam -v.
|
||||||
|
|
||||||
|
@ -229,7 +229,10 @@ main( int argc, char **argv, char **arg_environ )
|
|||||||
anyhow++;
|
anyhow++;
|
||||||
|
|
||||||
if( ( s = getoptval( optv, 'j', 0 ) ) )
|
if( ( s = getoptval( optv, 'j', 0 ) ) )
|
||||||
|
{
|
||||||
globs.jobs = atoi( s );
|
globs.jobs = atoi( s );
|
||||||
|
var_set( "JAMJOBS", list_new( L0, s, 0 ), VAR_SET );
|
||||||
|
}
|
||||||
|
|
||||||
if( ( s = getoptval( optv, 'g', 0 ) ) )
|
if( ( s = getoptval( optv, 'g', 0 ) ) )
|
||||||
globs.newestfirst = 1;
|
globs.newestfirst = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user