From 986033a2750c1160a4cef3c8418fc7f9e2b4fb5a Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 16 Aug 2018 13:59:38 +0100 Subject: configure: allow building with python3 Pretty much all of the scripts are python2+3 compatible. Check and allow using python3, while adjusting the PYTHON2 refs. Note: - python3.4 is used as it's the earliest supported version - python2 chosen prior to python3 v2: use python2 by default Cc: Ilia Mirkin Signed-off-by: Emil Velikov Acked-by: Eric Engestrom --- src/compiler/glsl/glcpp/tests/glcpp-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/glsl/glcpp/tests') diff --git a/src/compiler/glsl/glcpp/tests/glcpp-test.sh b/src/compiler/glsl/glcpp/tests/glcpp-test.sh index b8397ec8902..666a617bfb1 100755 --- a/src/compiler/glsl/glcpp/tests/glcpp-test.sh +++ b/src/compiler/glsl/glcpp/tests/glcpp-test.sh @@ -13,4 +13,4 @@ if [ -z "$srcdir" -o -z "$abs_builddir" ]; then abs_builddir=`pwd`/../../../ fi -$PYTHON2 $srcdir/glsl/glcpp/tests/glcpp_test.py $abs_builddir/glsl/glcpp/glcpp $srcdir/glsl/glcpp/tests --unix --windows --oldmac --bizarro +$PYTHON $srcdir/glsl/glcpp/tests/glcpp_test.py $abs_builddir/glsl/glcpp/glcpp $srcdir/glsl/glcpp/tests --unix --windows --oldmac --bizarro -- cgit v1.2.3