From 0b12cfb2bab2242b050f5ea90c99fb05bb89bafa 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: (cherry picked from commit 5acbadddb454505b2cc354f9a9a33ce289f489fa) --- .pick_status.json | 2 +- src/microsoft/clc/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 8c5a8a3c787..0d589bfc849 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -45490,7 +45490,7 @@ "description": "microsoft/clc: Don't build compiler test if build-tests is false", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null }, diff --git a/src/microsoft/clc/meson.build b/src/microsoft/clc/meson.build index 8e6e77e7c73..4d618c1c953 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],