scons,python: Add warning for when python3-config is not used
authorBobby R. Bruce <bbruce@ucdavis.edu>
Mon, 28 Sep 2020 18:56:19 +0000 (11:56 -0700)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Tue, 29 Sep 2020 17:52:15 +0000 (17:52 +0000)
commit81779301d8d131b50a661d64b18412a318c34023
treeb7cb8f4812759e825b8923dba310c9a702424e7f
parente2460a5dab43d55b489ca17241058fc5358634b3
scons,python: Add warning for when python3-config is not used

We cannot say for certain whether 'python-config' is python2 or python3,
but this patch will produce a warning if 'python3-config' is not used,
stating that support for python2 will be dropped in future releases of
gem5.

Change-Id: I114da359c8768071bf7dd7f2701aae85e3459678
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35256
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
SConstruct