aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/bisect
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2024-08-22 15:41:11 +0200
committerAleksandr Nogikh <nogikh@google.com>2024-08-22 17:38:44 +0000
commitce8a9099a5364313c309ba882f76c9ab4d74afb1 (patch)
tree49e493f41dd15ff9e0051decd9c9ad527d2c75f2 /pkg/bisect
parent4d0fcc557324c5d7be71cf7deafa158a4e81ab1c (diff)
all: rename build_jobs to build_cpus
The latter is a better suitable name.
Diffstat (limited to 'pkg/bisect')
-rw-r--r--pkg/bisect/bisect.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bisect/bisect.go b/pkg/bisect/bisect.go
index 1fd08d1ca..3f6c1ca07 100644
--- a/pkg/bisect/bisect.go
+++ b/pkg/bisect/bisect.go
@@ -37,7 +37,7 @@ type Config struct {
Manager *mgrconfig.Config
BuildSemaphore *instance.Semaphore
TestSemaphore *instance.Semaphore
- BuildJobs int
+ BuildCPUs int
// CrossTree specifies whether a cross tree bisection is to take place, i.e.
// Kernel.Commit is not reachable from Kernel.Branch.
// In this case, bisection starts from their merge base.
@@ -626,7 +626,7 @@ func (env *env) build() (*vcs.Commit, string, error) {
CmdlineFile: kern.Cmdline,
SysctlFile: kern.Sysctl,
KernelConfig: bisectEnv.KernelConfig,
- BuildJobs: env.cfg.BuildJobs,
+ BuildCPUs: env.cfg.BuildCPUs,
})
if imageDetails.CompilerID != "" {
env.log("compiler: %v", imageDetails.CompilerID)