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:
parent
78fd88311a
commit
c4ed9120ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130464
@ -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.
|
||||
|
@ -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'))
|
||||
|
Loading…
Reference in New Issue
Block a user