summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Rosenfeld <prosenfeld@micron.com>2017-08-05 13:02:52 -0600
committerPaul Rosenfeld <prosenfeld@micron.com>2017-08-31 12:04:25 +0000
commit8878b80f8390b76e1582bfe65e6fc3483fae1c55 (patch)
treefec84941eb6eb854df590342bfb2a0a38858ee6e
parentb277ad3bdb25e2fe7d53d470a57bf48edb6299df (diff)
downloadgem5-8878b80f8390b76e1582bfe65e6fc3483fae1c55.tar.xz
scons: bump required python version to 2.7 to support pybind11
Change-Id: Ic3652f975477f2e5d144e054489ab73ed9f82b55 Reviewed-on: https://gem5-review.googlesource.com/4440 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Gabe Black <gabeblack@google.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Joe Gross <joe.gross@amd.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
-rwxr-xr-xSConstruct5
1 files changed, 2 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index e4880e180..b5e3805a6 100755
--- a/SConstruct
+++ b/SConstruct
@@ -93,10 +93,9 @@ For more details, see:
"""
raise
-# We ensure the python version early because because python-config
-# requires python 2.5
+# pybind11 requires python 2.7
try:
- EnsurePythonVersion(2, 5)
+ EnsurePythonVersion(2, 7)
except SystemExit, e:
print """
You can use a non-default installation of the Python interpreter by