mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
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 <eric@igalia.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23890>
(cherry picked from commit 5acbadddb4)
This commit is contained in:
parent
39d7fb6f5e
commit
0b12cfb2ba
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue