Module: Mesa
Branch: master
Commit: 3517b6fd53aca309c720ed384b24792bfe900c0a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3517b6fd53aca309c720ed384b24792bfe900c0a

Author: Erik Faye-Lund <[email protected]>
Date:   Wed Dec  2 13:20:58 2020 +0100

microsoft/clc: add missing dependency

We include git_sha1.h in clc_compiler.c, so we should also make sure we
depend on the header being generated in time. This fixes a spurious
build error when compiling with many cores, like we do on CI.

Fixes: ff05da7f8dc ("microsoft: Add CLC frontend and kernel/compute support to 
DXIL converter")
Acked-by: Daniel Stone <[email protected]>
Reviewed-by: Jesse Natalie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7869>

---

 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 d22485830c6..d4a1553e6df 100644
--- a/src/microsoft/clc/meson.build
+++ b/src/microsoft/clc/meson.build
@@ -50,7 +50,7 @@ files_libclc_compiler = files(
 
 libclc_compiler = shared_library(
   'clglon12compiler',
-  [files_libclc_compiler],
+  [files_libclc_compiler, sha1_h],
   opencl_c_h,
   opencl_c_base_h,
   vs_module_defs : 'clglon12compiler.def',

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to