From: Bobby R. Bruce Date: Mon, 21 Sep 2020 20:51:19 +0000 (-0700) Subject: scons,python: Prioritize Python3 for PYTHON_CONFIG X-Git-Tag: v20.1.0.0~10 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=16b2c029f5777ec4f728493e752371fb4913b576;p=gem5.git scons,python: Prioritize Python3 for PYTHON_CONFIG Change-Id: I0ac4d90b93f2e0a9384216f759937f7b0aa23d41 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34899 Reviewed-by: Jason Lowe-Power Reviewed-by: Andreas Sandberg Maintainer: Gabe Black Tested-by: kokoro --- diff --git a/SConstruct b/SConstruct index ca3f1a1db..316c10b2f 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', - [ 'python2.7-config', 'python-config', 'python3-config' ]), + [ 'python3-config', 'python-config', 'python2.7-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'),