Chia-You Chen has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/58689 )
Change subject: fastmodel: use global option 'num_jobs' instead of
hardcoded number
......................................................................
fastmodel: use global option 'num_jobs' instead of hardcoded number
Change-Id: I2d3f0855c8475cd44b1012fddf6b695621b2347f
---
M src/arch/arm/fastmodel/SConscript
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/arch/arm/fastmodel/SConscript
b/src/arch/arm/fastmodel/SConscript
index bfe7e97..a89e0dc 100644
--- a/src/arch/arm/fastmodel/SConscript
+++ b/src/arch/arm/fastmodel/SConscript
@@ -363,10 +363,11 @@
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))
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/58689
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I2d3f0855c8475cd44b1012fddf6b695621b2347f
Gerrit-Change-Number: 58689
Gerrit-PatchSet: 1
Gerrit-Owner: Chia-You Chen <hort...@google.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s