From 5eb9cdd2c6317922182ec38024d1af13b6c07bb8 Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Mon, 28 Sep 2020 11:23:38 -0700 Subject: [PATCH] scons,python: Add python2-config to PYTHON_CONFIG PYTHON_CONFIG can be python2-config as well as python2.7-config. Change-Id: I482cb922fcf26b37f67f2aca392e04968ca144bd Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35255 Reviewed-by: Jason Lowe-Power Reviewed-by: Andreas Sandberg Maintainer: Jason Lowe-Power Tested-by: kokoro --- SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 316c10b2f..667a0e647 100755 --- a/SConstruct +++ b/SConstruct @@ -238,7 +238,8 @@ 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' ]), + [ 'python3-config', 'python-config', 'python2.7-config', 'python2-config'] + ), ('PROTOC', 'protoc tool', environ.get('PROTOC', 'protoc')), ('BATCH', 'Use batch pool for build and tests', False), ('BATCH_CMD', 'Batch pool submission command name', 'qdo'), -- 2.30.2