From 5acbadddb454505b2cc354f9a9a33ce289f489fa Mon Sep 17 00:00:00 2001 From: Prodea Alexandru-Liviu Date: Tue, 27 Jun 2023 17:32:57 +0000 Subject: [PATCH] microsoft/clc: Don't build compiler test if build-tests is false Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8161 Cc: mesa-stable Reviewed-by: Eric Engestrom Reviewed-by: Jesse Natalie Part-of: --- src/microsoft/clc/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microsoft/clc/meson.build b/src/microsoft/clc/meson.build index 734c202a0c5..849ee9b94ec 100644 --- a/src/microsoft/clc/meson.build +++ b/src/microsoft/clc/meson.build @@ -34,7 +34,7 @@ libclc_compiler = shared_library( name_prefix : '' # otherwise mingw will create libclon12compiler.dll ) -if dep_dxheaders.found() and host_machine.system() == 'windows' +if dep_dxheaders.found() and host_machine.system() == 'windows' and with_tests clc_compiler_test = executable('clc_compiler_test', ['clc_compiler_test.cpp', 'compute_test.cpp'], link_with : [libclc_compiler],