1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-30 16:51:41 +00:00

Add a JOBS config keyword, which corresponds to the --jobs tinderbox(1)

command line option.
This commit is contained in:
Dag-Erling Smørgrav 2004-06-14 12:10:48 +00:00
parent 78fd88311a
commit c4ed9120ab
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130464
2 changed files with 9 additions and 1 deletions

View File

@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd March 15, 2004
.Dd June 14, 2004
.Dt TBMASTER 1
.Os
.Sh NAME
@ -168,6 +168,11 @@ This defaults to the name reported by the
option of the
.Xr uname 1
command, and is only used for cosmetic purposes.
.It JOBS
The maximum number of concurrent
.Xr make 1
jobs to run.
No default value.
.It LOGDIR
.Pq Vt single
The location of the log directory.

View File

@ -52,6 +52,7 @@ my %INITIAL_CONFIG = (
'DATE' => '',
'ENV' => [],
'HOSTNAME' => '',
'JOBS' => '',
'LOGDIR' => '%%SANDBOX%%/logs',
'OPTIONS' => [],
'PATCH' => '',
@ -251,6 +252,8 @@ sub tinderbox($$$) {
if ($CONFIG{'DATE'});
push(@args, "--patch=" . expand('PATCH'))
if ($CONFIG{'PATCH'});
push(@args, "--jobs=" . expand('JOBS'))
if ($CONFIG{'JOBS'});
push(@args, @{$CONFIG{'TARGETS'}});
push(@args, @{$CONFIG{'ENV'}});
push(@args, "CFLAGS=" . expand('CFLAGS'))