[Mesa-dev] [PATCH v2 37/49] meson: Don't build glsl cache_test for windows
Dylan Baker
dylan at pnwbakers.com
Tue Jul 10 23:18:05 UTC 2018
v2: - Use new with_shader_cache variable instead of
host_machine.system() == 'windows'
---
src/compiler/glsl/tests/meson.build | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/src/compiler/glsl/tests/meson.build b/src/compiler/glsl/tests/meson.build
index fc7b863a278..a08e9fcb904 100644
--- a/src/compiler/glsl/tests/meson.build
+++ b/src/compiler/glsl/tests/meson.build
@@ -29,18 +29,19 @@ test(
)
)
-test(
- 'cache_test',
- executable(
+if with_shader_cache
+ test(
'cache_test',
- 'cache_test.c',
- c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
- include_directories : [inc_common, inc_glsl],
- link_with : [libglsl],
- dependencies : [dep_clock, dep_thread],
+ executable(
+ 'cache_test',
+ 'cache_test.c',
+ c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
+ include_directories : [inc_common, inc_glsl],
+ link_with : [libglsl],
+ dependencies : [dep_clock, dep_thread],
+ )
)
-)
-
+endif
test(
'general_ir_test',
--
2.18.0
More information about the mesa-dev
mailing list