meson: Build with Python 3

Now that all the build scripts are compatible with both Python 2 and 3,
we can flip the switch and tell Meson to use the latter.

Since Meson already depends on Python 3 anyway, this means we don't need
two different Python stacks to build Mesa.

Signed-off-by: Mathieu Bridon <bochecha@daitauha.fr>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
Mathieu Bridon
2018-08-09 10:27:26 +02:00
committed by Dylan Baker
parent bd27203f4d
commit 2ee1c86d71
31 changed files with 77 additions and 77 deletions

View File

@@ -41,7 +41,7 @@ ir_expression_operation_constant_h = custom_target(
'ir_expression_operation_constant.h',
input : 'ir_expression_operation.py',
output : 'ir_expression_operation_constant.h',
command : [prog_python2, '@INPUT@', 'constant'],
command : [prog_python, '@INPUT@', 'constant'],
capture : true,
)
@@ -49,7 +49,7 @@ ir_expression_operation_strings_h = custom_target(
'ir_expression_operation_strings.h',
input : 'ir_expression_operation.py',
output : 'ir_expression_operation_strings.h',
command : [prog_python2, '@INPUT@', 'strings'],
command : [prog_python, '@INPUT@', 'strings'],
capture : true,
)