Module: Mesa Branch: main Commit: c67e60ae8fefaeadbe06bf0cbd8ad2ee267a6c0e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c67e60ae8fefaeadbe06bf0cbd8ad2ee267a6c0e
Author: Yonggang Luo <[email protected]> Date: Mon Aug 8 01:57:34 2022 +0800 meson: clc compiler test only works on win32 Signed-off-by: Yonggang Luo <[email protected]> Acked-by: Jesse Natalie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17934> --- 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 a472192c853..35e2fb38f78 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() +if dep_dxheaders.found() and host_machine.system() == 'windows' clc_compiler_test = executable('clc_compiler_test', ['clc_compiler_test.cpp', 'compute_test.cpp'], link_with : [libclc_compiler],
