scons: Added 'python3-config' to the config list
authorBobby R. Bruce <bbruce@ucdavis.edu>
Wed, 6 May 2020 00:13:51 +0000 (17:13 -0700)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Fri, 15 May 2020 18:23:53 +0000 (18:23 +0000)
commitde944f8a832ebdd55b03b42f72a329abb53ef98e
tree245a37a0500a79bba69825ee456292f6cd20ad64
parentea91211f273ee87da9094b945a758439d91f3ff6
scons: Added 'python3-config' to the config list

Previously scons looked for 'python-config' and 'python2-config'. This
caused an error in Python3-exclusive environments. With only python3
installed, 'python3-config' is now an option. With this setup,
'python2-config' is used by default, unless overridden by the user
via the scons command line.

Change-Id: I11186328b0eb0825cc53c3889b31a5345a7f40d1
Issue-on: https://gem5.atlassian.net/browse/GEM5-275
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28648
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
SConstruct