dev-arm: Set ICV_IGRPEN<n>_EL1-ICH_VMCR_EL2 mapping on reads
[gem5.git] / site_scons / site_init.py
index 6d9d24d3049269c1be83146343b98cd07f6a565e..351f49bc05930d247c7abbad0f45ca8111b5cba6 100644 (file)
@@ -38,6 +38,7 @@
 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+from __future__ import print_function
 from gem5_python_paths import extra_python_paths
 
 # Check for recent-enough Python and SCons versions.
@@ -49,24 +50,24 @@ try:
     EnsureSConsVersion(0, 98)
     EnsureSConsVersion(0, 98, 1)
 except SystemExit, e:
-    print """
+    print("""
 For more details, see:
     http://gem5.org/Dependencies
-"""
+""")
     raise
 
 # pybind11 requires python 2.7
 try:
     EnsurePythonVersion(2, 7)
 except SystemExit, e:
-    print """
+    print ("""
 You can use a non-default installation of the Python interpreter by
 rearranging your PATH so that scons finds the non-default 'python' and
 'python-config' first.
 
 For more details, see:
     http://gem5.org/wiki/index.php/Using_a_non-default_Python_installation
-"""
+""")
     raise
 
 sys.path[1:1] = extra_python_paths