diff options
author | Mathieu Bridon <[email protected]> | 2018-08-09 10:27:26 +0200 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-08-10 15:15:09 -0700 |
commit | 2ee1c86d71bee5ddca2c8795b4d343e31d28df99 (patch) | |
tree | 434ff307fe52734f62ae83427accc863cb455778 /src/compiler/nir/meson.build | |
parent | bd27203f4d808763ac24ac94eb677cacf3e7cb99 (diff) |
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 <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/compiler/nir/meson.build')
-rw-r--r-- | src/compiler/nir/meson.build | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/compiler/nir/meson.build b/src/compiler/nir/meson.build index 010da386ce3..8708f9b069c 100644 --- a/src/compiler/nir/meson.build +++ b/src/compiler/nir/meson.build @@ -24,7 +24,7 @@ nir_builder_opcodes_h = custom_target( 'nir_builder_opcodes.h', input : 'nir_builder_opcodes_h.py', output : 'nir_builder_opcodes.h', - command : [prog_python2, '@INPUT@'], + command : [prog_python, '@INPUT@'], capture : true, depend_files : nir_depends, ) @@ -33,7 +33,7 @@ nir_constant_expressions_c = custom_target( 'nir_constant_expressions.c', input : 'nir_constant_expressions.py', output : 'nir_constant_expressions.c', - command : [prog_python2, '@INPUT@'], + command : [prog_python, '@INPUT@'], capture : true, depend_files : nir_depends, ) @@ -42,7 +42,7 @@ nir_opcodes_h = custom_target( 'nir_opcodes.h', input : 'nir_opcodes_h.py', output : 'nir_opcodes.h', - command : [prog_python2, '@INPUT@'], + command : [prog_python, '@INPUT@'], capture : true, depend_files : nir_depends, ) @@ -51,7 +51,7 @@ nir_opcodes_c = custom_target( 'nir_opcodes.c', input : 'nir_opcodes_c.py', output : 'nir_opcodes.c', - command : [prog_python2, '@INPUT@'], + command : [prog_python, '@INPUT@'], capture : true, depend_files : nir_depends, ) @@ -60,7 +60,7 @@ nir_opt_algebraic_c = custom_target( 'nir_opt_algebraic.c', input : 'nir_opt_algebraic.py', output : 'nir_opt_algebraic.c', - command : [prog_python2, '@INPUT@'], + command : [prog_python, '@INPUT@'], capture : true, depend_files : files('nir_algebraic.py'), ) @@ -69,7 +69,7 @@ nir_intrinsics_h = custom_target( 'nir_intrinsics.h', input : 'nir_intrinsics_h.py', output : 'nir_intrinsics.h', - command : [prog_python2, '@INPUT@', '--outdir', meson.current_build_dir()], + command : [prog_python, '@INPUT@', '--outdir', meson.current_build_dir()], capture : false, depend_files : files('nir_intrinsics.py'), ) @@ -78,7 +78,7 @@ nir_intrinsics_c = custom_target( 'nir_intrinsic.c', input : 'nir_intrinsics_c.py', output : 'nir_intrinsics.c', - command : [prog_python2, '@INPUT@', '--outdir', meson.current_build_dir()], + command : [prog_python, '@INPUT@', '--outdir', meson.current_build_dir()], capture: false, depend_files : files('nir_intrinsics.py'), ) |