From 5dfa27e219118079af266f6fed321b5253eb99b8 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Wed, 6 Oct 2021 15:27:10 -0700 Subject: [PATCH] meson: disable .pyc bytecode for u_format_table.py This prevents the creation of src/gallium/auxiliary/util/__pycache__/ which is untracked in git. The directory in question could be added to .gitignore instead, but since the script is only executed once, it doesn't seem worthwhile to write bytecode to disk anyway. Signed-off-by: Daniel Verkamp Reviewed-by: Gert Wollny --- src/gallium/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/meson.build b/src/gallium/meson.build index 058d7d5..7d70ba0 100644 --- a/src/gallium/meson.build +++ b/src/gallium/meson.build @@ -74,7 +74,7 @@ u_format_table_c = custom_target( 'u_format_table.c', input : ['auxiliary/util/u_format_table.py', 'auxiliary/util/u_format.csv'], output : 'u_format_table.c', - command : [prog_python, '@INPUT@'], + command : [prog_python, '-B', '@INPUT@'], depend_files : files('auxiliary/util/u_format_parse.py'), capture : true, )