From ce8a9099a5364313c309ba882f76c9ab4d74afb1 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 22 Aug 2024 15:41:11 +0200 Subject: all: rename build_jobs to build_cpus The latter is a better suitable name. --- syz-ci/jobs.go | 2 +- syz-ci/manager.go | 2 +- syz-ci/syz-ci.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'syz-ci') diff --git a/syz-ci/jobs.go b/syz-ci/jobs.go index e49df1542..a2cd3c656 100644 --- a/syz-ci/jobs.go +++ b/syz-ci/jobs.go @@ -493,7 +493,7 @@ func (jp *JobProcessor) bisect(job *Job, mgrcfg *mgrconfig.Config) error { BinDir: jp.cfg.BisectBinDir, Linker: mgr.mgrcfg.Linker, Ccache: jp.cfg.Ccache, - BuildJobs: jp.cfg.BuildJobs, + BuildCPUs: jp.cfg.BuildCPUs, Kernel: bisect.KernelConfig{ Repo: req.KernelRepo, Branch: req.KernelBranch, diff --git a/syz-ci/manager.go b/syz-ci/manager.go index 108a8f909..b9e141c68 100644 --- a/syz-ci/manager.go +++ b/syz-ci/manager.go @@ -356,7 +356,7 @@ func (mgr *Manager) build(kernelCommit *vcs.Commit) error { SysctlFile: mgr.mgrcfg.KernelSysctl, Config: mgr.configData, Build: mgr.mgrcfg.Build, - BuildJobs: mgr.cfg.BuildJobs, + BuildCPUs: mgr.cfg.BuildCPUs, } details, err := build.Image(params) info := mgr.createBuildInfo(kernelCommit, details.CompilerID) diff --git a/syz-ci/syz-ci.go b/syz-ci/syz-ci.go index 639a9bb8c..8a970131e 100644 --- a/syz-ci/syz-ci.go +++ b/syz-ci/syz-ci.go @@ -126,8 +126,8 @@ type Config struct { // The list is concatenated with the similar parameter from ManagerConfig. BisectBackports []vcs.BackportCommit `json:"bisect_backports"` Ccache string `json:"ccache"` - // BuildJobs defines the maximum number of parallel kernel build threads. - BuildJobs int `json:"build_jobs"` + // BuildCPUs defines the maximum number of parallel kernel build threads. + BuildCPUs int `json:"build_cpus"` Managers []*ManagerConfig `json:"managers"` // Poll period for jobs in seconds (optional, defaults to 10 seconds) JobPollPeriod int `json:"job_poll_period"` -- cgit mrf-deployment