scons: Set the minimum scons version to 3.0.
authorGabe Black <gabeblack@google.com>
Sat, 29 Aug 2020 00:58:12 +0000 (17:58 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 31 Aug 2020 01:18:01 +0000 (01:18 +0000)
Change-Id: Id57a93e819588d2231d2d2d8b28cd62b05fbbe9b
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33675
Reviewed-by: Steve Reinhardt <stever@gmail.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
site_scons/site_init.py

index 82e1c8a4de381b3d053780a87c06947a3dd9cb85..28a9d0c13afc241b0114c6cc0351e98c3609ce47 100644 (file)
@@ -43,12 +43,7 @@ from gem5_python_paths import extra_python_paths
 
 # Check for recent-enough Python and SCons versions.
 try:
-    # Really old versions of scons only take two options for the
-    # function, so check once without the revision and once with the
-    # revision, the first instance will fail for stuff other than
-    # 0.98, and the second will fail for 0.98.0
-    EnsureSConsVersion(0, 98)
-    EnsureSConsVersion(0, 98, 1)
+    EnsureSConsVersion(3, 0, 0)
 except SystemExit as e:
     print("""
 For more details, see: