Skip to content

Commit 88939b2

Browse files
[SYCL-PTX] Fix libclc dependencies (#3624)
Changes the file-level dependency in the prepare step to a target-level dependency, ensuring the custom opt command has been run before the prepare step. Signed-off-by: Steffen Larsen <[email protected]>
1 parent 9356d53 commit 88939b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libclc/cmake/modules/AddLibclc.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ macro(add_libclc_builtin_set arch_suffix)
9191
COMMAND prepare_builtins -o
9292
"${builtins_obj_path}"
9393
"$<TARGET_PROPERTY:opt.${obj_suffix},TARGET_FILE>"
94-
DEPENDS ${builtins_opt_path}
94+
DEPENDS "opt.${obj_suffix}"
9595
prepare_builtins )
9696
add_custom_target( "prepare-${obj_suffix}" ALL
9797
DEPENDS "${builtins_obj_path}" )

0 commit comments

Comments
 (0)