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: ff05da7f8d ("microsoft: Add CLC frontend and kernel/compute support to DXIL converter")
Acked-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7869>
This commit is contained in:
Erik Faye-Lund
2020-12-02 13:20:58 +01:00
committed by Marge Bot
parent 84dd4ac1c7
commit 3517b6fd53
+1 -1
View File
@@ -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',