scons: Add support for specifying Python version
authorAndreas Sandberg <andreas.sandberg@arm.com>
Fri, 25 Jan 2019 11:14:29 +0000 (11:14 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Sat, 23 Feb 2019 23:35:50 +0000 (23:35 +0000)
commita3c81f90556143dc6de1e8114c0a613b4010c05c
tree85ffec748751c49063993d21c8a3181d7be0be45
parent2bad848b85f3463edca652e0f73cc64c57961fbb
scons: Add support for specifying Python version

Add a sticky variable (PYTHON_CONFIG) to select which python-config
version to use. This can, for example, be used to build with Python 3
or with Python 2.7 in a custom location.

Change-Id: I1f4c00d66f85a9c99f50fe4d746b69dd82b60b4b
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/16003
Reviewed-by: Gabe Black <gabeblack@google.com>
SConstruct