Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/40860 )
Change subject: scons: Pull Configure() to earlier in SConstruct so we can
use it more.
......................................................................
scons: Pull Configure() to earlier in SConstruct so we can use it more.
This mechanism lets us check if headers are available, flags are
supported, etc. We should use that more often, rather than checking for
specific versions of tools where problematic new warnings were added, etc.
Change-Id: I5b1a6499147f27cc8944fcb8c61eb69e9fa8fb7a
---
M SConstruct
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/SConstruct b/SConstruct
index 50d5672..8a7b48e 100755
--- a/SConstruct
+++ b/SConstruct
@@ -297,6 +297,10 @@
# compiler we're using.
main['TCMALLOC_CCFLAGS'] = []
+# Platform-specific configuration. Note again that we assume that all
+# builds under a given build root run on the same host platform.
+conf = gem5_scons.Configure(main)
+
CXX_version = readCommand([main['CXX'],'--version'], exception=False)
CXX_V = readCommand([main['CXX'],'-V'], exception=False)
@@ -500,10 +504,6 @@
warning('While checking protoc version:', str(e))
main['HAVE_PROTOC'] = False
-# Platform-specific configuration. Note again that we assume that all
-# builds under a given build root run on the same host platform.
-conf = gem5_scons.Configure(main)
-
# We should compile a 64 bit binary on Mac OS X/Darwin
if sys.platform == "darwin":
main.Append(CCFLAGS=['-arch', 'x86_64'])
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/40860
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: I5b1a6499147f27cc8944fcb8c61eb69e9fa8fb7a
Gerrit-Change-Number: 40860
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabe.bl...@gmail.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