Gabe Black has submitted this change. (
https://gem5-review.googlesource.com/c/public/gem5/+/50329 )
Change subject: scons: Add tag support to ISADesc.
......................................................................
scons: Add tag support to ISADesc.
Change-Id: Icac027cc4df48d0a3c06911bd6fa0a8b5b72c60a
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50329
Reviewed-by: Andreas Sandberg <[email protected]>
Maintainer: Gabe Black <[email protected]>
Tested-by: kokoro <[email protected]>
---
M src/arch/SConscript
1 file changed, 15 insertions(+), 2 deletions(-)
Approvals:
Andreas Sandberg: Looks good to me, approved
Gabe Black: Looks good to me, approved
kokoro: Regressions pass
diff --git a/src/arch/SConscript b/src/arch/SConscript
index e1387d9..0803b07 100644
--- a/src/arch/SConscript
+++ b/src/arch/SConscript
@@ -127,7 +127,7 @@
# ISAs should use this function to set up an IsaDescBuilder and not try to
# set one up manually.
-def ISADesc(desc, decoder_splits=1, exec_splits=1):
+def ISADesc(desc, decoder_splits=1, exec_splits=1, tags=None,
add_tags=None):
'''Set up a builder for an ISA description.
The decoder_splits and exec_splits parameters let us determine what
@@ -192,7 +192,7 @@
append = {}
if env['CLANG']:
append['CCFLAGS'] = ['-Wno-self-assign']
- Source(gen_file(name), append=append)
+ Source(gen_file(name), append=append, tags=tags, add_tags=add_tags)
source_gen('decoder.cc')
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/50329
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: Icac027cc4df48d0a3c06911bd6fa0a8b5b72c60a
Gerrit-Change-Number: 50329
Gerrit-PatchSet: 6
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Bobby R. Bruce <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Hoa Nguyen <[email protected]>
Gerrit-Reviewer: Jui-min Lee <[email protected]>
Gerrit-Reviewer: Yu-hsin Wang <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s