scons: Pull Configure() to earlier in SConstruct so we can use it more.
authorGabe Black <gabe.black@gmail.com>
Sun, 7 Feb 2021 09:41:27 +0000 (01:41 -0800)
committerGabe Black <gabe.black@gmail.com>
Wed, 10 Feb 2021 16:57:17 +0000 (16:57 +0000)
commit9fa94642c41a2133a9b6b964da399382ec19812a
tree412b355f5e1819ffe0d98acdbd682bd61dc1e692
parent205fe472ad7a5b11c69476d3084bc08c4faa1684
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
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40860
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
SConstruct