Chia-You Chen has submitted this change. (
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
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/58689
Reviewed-by: Gabe Black <gabe.bl...@gmail.com>
Maintainer: Gabe Black <gabe.bl...@gmail.com>
Tested-by: kokoro <noreply+kok...@google.com>
---
M src/arch/arm/fastmodel/SConscript
1 file changed, 15 insertions(+), 1 deletion(-)
Approvals:
Gabe Black: Looks good to me, approved; Looks good to me, approved
kokoro: Regressions pass
diff --git a/src/arch/arm/fastmodel/SConscript
b/src/arch/arm/fastmodel/SConscript
index bfe7e97..23ddb84 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: 3
Gerrit-Owner: Chia-You Chen <hort...@google.com>
Gerrit-Reviewer: Chia-You Chen <hort...@google.com>
Gerrit-Reviewer: Earl Ou <shunhsin...@google.com>
Gerrit-Reviewer: Gabe Black <gabe.bl...@gmail.com>
Gerrit-Reviewer: kokoro <noreply+kok...@google.com>
Gerrit-CC: Gabe Black <gabebl...@google.com>
Gerrit-MessageType: merged
_______________________________________________
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