scons: Don't check for Python 2
The build system will now refuse to build gem5 if Python 2.x is detected. Remove Python 2 specific python-config variants from the list of candidates we try. Change-Id: Id59be4a2969ce180848e5df02afdfb4a5b8125c1 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36535 Reviewed-by: Gabe Black <gabe.black@gmail.com> Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -238,7 +238,7 @@ global_vars.AddVariables(
|
|||||||
('MARSHAL_CCFLAGS_EXTRA', 'Extra C and C++ marshal compiler flags', ''),
|
('MARSHAL_CCFLAGS_EXTRA', 'Extra C and C++ marshal compiler flags', ''),
|
||||||
('MARSHAL_LDFLAGS_EXTRA', 'Extra marshal linker flags', ''),
|
('MARSHAL_LDFLAGS_EXTRA', 'Extra marshal linker flags', ''),
|
||||||
('PYTHON_CONFIG', 'Python config binary to use',
|
('PYTHON_CONFIG', 'Python config binary to use',
|
||||||
[ 'python3-config', 'python-config', 'python2.7-config', 'python2-config']
|
[ 'python3-config', 'python-config']
|
||||||
),
|
),
|
||||||
('PROTOC', 'protoc tool', environ.get('PROTOC', 'protoc')),
|
('PROTOC', 'protoc tool', environ.get('PROTOC', 'protoc')),
|
||||||
('BATCH', 'Use batch pool for build and tests', False),
|
('BATCH', 'Use batch pool for build and tests', False),
|
||||||
|
|||||||
Reference in New Issue
Block a user