⛏️ index : buildtools.git

author Matt Madia <mattmadia@gmail.com> 2011-12-22 21:54:22.0 +00:00:00
committer Matt Madia <mattmadia@gmail.com> 2011-12-22 21:54:22.0 +00:00:00
commit
9ceedecc39d85ab8bc907eea54889ad3ee3b335e [patch]
tree
36a3a84d328e1200bcd1b1323ce2efaaa30c5929
parent
ed5b974772884452cd2c99128233fc28ba9821b3
download
9ceedecc39d85ab8bc907eea54889ad3ee3b335e.tar.gz

Created new jam variable JAMJOBS, which is set by the -jx flag.



Diff

 jam/Jam.html | 1 +
 jam/jam.c    | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/jam/Jam.html b/jam/Jam.html
index c1cbc4f..c174c46 100644
--- a/jam/Jam.html
+++ b/jam/Jam.html
@@ -1134,6 +1134,7 @@
	<TABLE WIDTH=75% ALIGN=CENTER>

	    <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>JAMVERSION<TD><b>jam</b> version, as reported by jam -v.

diff --git a/jam/jam.c b/jam/jam.c
index 13fbb88..2bbf1ae 100644
--- a/jam/jam.c
+++ b/jam/jam.c
@@ -229,7 +229,10 @@
	    anyhow++;

	if( ( s = getoptval( optv, 'j', 0 ) ) )
	{
	    globs.jobs = atoi( s );
	    var_set( "JAMJOBS", list_new( L0, s, 0 ), VAR_SET );
	}

	if( ( s = getoptval( optv, 'g', 0 ) ) )
	    globs.newestfirst = 1;