diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2005-08-26 08:18:23 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2005-08-26 08:18:23 -0400 |
commit | e007aa59e3da2609de92cc6d2cfcd7acf9d4276f (patch) | |
tree | fcd481d61caed517e592c7265240fa940e66f406 /build | |
parent | bdd78df6d84b3b6e93f5b69dfc70a63b9f52462e (diff) | |
parent | 50186d13204dea5d7c95596f1e9f8cff6bca8a2f (diff) | |
download | gem5-e007aa59e3da2609de92cc6d2cfcd7acf9d4276f.tar.xz |
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/stever/bk/m5
--HG--
extra : convert_revision : dc9d0dc344389063f7b2026bd7cf737bdab3ee8b
Diffstat (limited to 'build')
-rw-r--r-- | build/SConstruct | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/SConstruct b/build/SConstruct index 8819e3649..b03a81c52 100644 --- a/build/SConstruct +++ b/build/SConstruct @@ -45,6 +45,12 @@ import sys import os +# Check for recent-enough Python version +(major, minor) = sys.version_info[:2] +if major < 2 or (major == 2 and minor < 3): + print "Error: M5 requires Python 2.3 or later." + sys.exit(1) + # The absolute path to the current directory (where this file lives). ROOT = Dir('.').abspath |