From 16b2c029f5777ec4f728493e752371fb4913b576 Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Mon, 21 Sep 2020 13:51:19 -0700 Subject: [PATCH] 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 --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'), -- 2.30.2