From: Andreas Sandberg Date: Fri, 23 Oct 2020 09:49:43 +0000 (+0100) Subject: scons: Don't check for Python 2 X-Git-Tag: develop-gem5-snapshot~574 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4af84816a43f05145d10dde208676d9532105dbd;p=gem5.git 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 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36535 Reviewed-by: Gabe Black Reviewed-by: Daniel Carvalho Reviewed-by: Jason Lowe-Power Maintainer: Gabe Black Tested-by: kokoro --- diff --git a/SConstruct b/SConstruct index a057da308..503334409 100755 --- a/SConstruct +++ b/SConstruct @@ -238,7 +238,7 @@ global_vars.AddVariables( ('MARSHAL_CCFLAGS_EXTRA', 'Extra C and C++ marshal compiler flags', ''), ('MARSHAL_LDFLAGS_EXTRA', 'Extra marshal linker flags', ''), ('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')), ('BATCH', 'Use batch pool for build and tests', False),