SConstruct (12158:c66cf095928d) | SConstruct (12178:62b9e0a3b056) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2013, 2015, 2016 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 79 unchanged lines hidden (view full) --- 88 EnsureSConsVersion(0, 98, 1) 89except SystemExit, e: 90 print """ 91For more details, see: 92 http://gem5.org/Dependencies 93""" 94 raise 95 | 1# -*- mode:python -*- 2 3# Copyright (c) 2013, 2015, 2016 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 79 unchanged lines hidden (view full) --- 88 EnsureSConsVersion(0, 98, 1) 89except SystemExit, e: 90 print """ 91For more details, see: 92 http://gem5.org/Dependencies 93""" 94 raise 95 |
96# We ensure the python version early because because python-config 97# requires python 2.5 | 96# pybind11 requires python 2.7 |
98try: | 97try: |
99 EnsurePythonVersion(2, 5) | 98 EnsurePythonVersion(2, 7) |
100except SystemExit, e: 101 print """ 102You can use a non-default installation of the Python interpreter by 103rearranging your PATH so that scons finds the non-default 'python' and 104'python-config' first. 105 106For more details, see: 107 http://gem5.org/wiki/index.php/Using_a_non-default_Python_installation --- 1481 unchanged lines hidden --- | 99except SystemExit, e: 100 print """ 101You can use a non-default installation of the Python interpreter by 102rearranging your PATH so that scons finds the non-default 'python' and 103'python-config' first. 104 105For more details, see: 106 http://gem5.org/wiki/index.php/Using_a_non-default_Python_installation --- 1481 unchanged lines hidden --- |