Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/48133 )

Change subject: scons: Disable the duplicate-environment warning by default.
......................................................................

scons: Disable the duplicate-environment warning by default.

Disable warnings when targets can be built with multiple environments
but with the same actions. This can happen intentionally if, for
instance, a generated source file is used to build object files in
different ways in different environments, but generating the source
file itself is exactly the same. This can be re-enabled from the
command line if desired.

Change-Id: I426ca3331267f026553c9a2bccc79494cace8109
---
M SConstruct
1 file changed, 7 insertions(+), 0 deletions(-)



diff --git a/SConstruct b/SConstruct
index ca1bc7b..086b3ca 100755
--- a/SConstruct
+++ b/SConstruct
@@ -132,6 +132,13 @@
 from gem5_scons.builders import ConfigFile, AddLocalRPATH, SwitchingHeaders
 from gem5_scons.util import compareVersions, readCommand

+# Disable warnings when targets can be built with multiple environments but
+# with the same actions. This can happen intentionally if, for instance, a
+# generated source file is used to build object files in different ways in
+# different environments, but generating the source file itself is exactly the
+# same. This can be re-enabled from the command line if desired.
+SetOption('warn', 'no-duplicate-environment')
+
 Export('MakeAction')

 ########################################################################

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/48133
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: I426ca3331267f026553c9a2bccc79494cace8109
Gerrit-Change-Number: 48133
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to