fastmodel: use global option 'num_jobs' instead of hardcoded number
Change-Id: I2d3f0855c8475cd44b1012fddf6b695621b2347f Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/58689 Reviewed-by: Gabe Black <gabe.black@gmail.com> Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -363,10 +363,11 @@ class ArmFastModelComponent(object):
|
||||
self.rpaths = [simgen_dir, project_file_dir]
|
||||
self.log = gen_dir.File('build_%s.log' % tlc)
|
||||
self.simgen_cmd = env.subst('${CONF["SIMGEN"]} -p %s '
|
||||
'--configuration %s -b --verbose off --num-build-cpus 100 '
|
||||
'--configuration %s -b --verbose off --num-build-cpus %d '
|
||||
'--build-dir %s >%s') % \
|
||||
(shlex.quote(project_file.srcnode().abspath),
|
||||
shlex.quote(config_name),
|
||||
GetOption('num_jobs'),
|
||||
shlex.quote(simgen_dir.abspath),
|
||||
shlex.quote(self.log.abspath))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user