From 2ee1c86d71bee5ddca2c8795b4d343e31d28df99 Mon Sep 17 00:00:00 2001 From: Mathieu Bridon Date: Thu, 9 Aug 2018 10:27:26 +0200 Subject: 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 Reviewed-by: Eric Engestrom Reviewed-by: Dylan Baker --- src/mesa/main/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/main') diff --git a/src/mesa/main/meson.build b/src/mesa/main/meson.build index 57487fe4da5..a5f0e02c6cd 100644 --- a/src/mesa/main/meson.build +++ b/src/mesa/main/meson.build @@ -22,7 +22,7 @@ main_dispatch_h = custom_target( 'dispatch.h', input : [files('../../mapi/glapi/gen/gl_table.py'), gl_and_es_api_files], output : 'dispatch.h', - command : [prog_python2, '@INPUT0@', '-f', '@INPUT1@', '-m', 'remap_table'], + command : [prog_python, '@INPUT0@', '-f', '@INPUT1@', '-m', 'remap_table'], depend_files : glapi_gen_depends, capture : true, ) @@ -31,7 +31,7 @@ main_marshal_generated_h = custom_target( 'marshal_generated.h', input : [files('../../mapi/glapi/gen/gl_marshal_h.py'), gl_and_es_api_files], output : 'marshal_generated.h', - command : [prog_python2, '@INPUT0@', '-f', '@INPUT1@'], + command : [prog_python, '@INPUT0@', '-f', '@INPUT1@'], depend_files : files('../../mapi/glapi/gen/marshal_XML.py') + glapi_gen_depends, capture : true, ) @@ -40,7 +40,7 @@ main_remap_helper_h = custom_target( 'remap_helper.h', input : [files('../../mapi/glapi/gen/remap_helper.py'), gl_and_es_api_files], output : 'remap_helper.h', - command : [prog_python2, '@INPUT0@', '-f', '@INPUT1@'], + command : [prog_python, '@INPUT0@', '-f', '@INPUT1@'], depend_files : glapi_gen_depends, capture : true, ) -- cgit v1.2.3