Skip to content

Commit 9add238

Browse files
authored
[CLC][cmake] Add missing dependency on LIBCLC_LIBRARY_OUTPUT_INTDIR (#15366)
While processing bc files, the OUT_DIR should exist. Since we have a separate target for LIBCLC_LIBRARY_OUTPUT_INTDIR, we add a dependency on it instead of forcing directory creation during bc processing.
1 parent 5b9f0f6 commit 9add238

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
@@ -358,7 +358,7 @@ macro(add_libclc_builtin_set arch_suffix)
358358
IN_FILE ${builtins_link_lib}
359359
OUT_DIR ${LIBCLC_LIBRARY_OUTPUT_INTDIR}
360360
OPT_FLAGS ${ARG_OPT_FLAGS}
361-
DEPENDENCIES ${builtins_link_lib_tgt})
361+
DEPENDENCIES ${builtins_link_lib_tgt} ${LIBCLC_LIBRARY_OUTPUT_INTDIR})
362362

363363
# Add dependency to top-level pseudo target to ease making other
364364
# targets dependent on libclc.

0 commit comments

Comments
 (0)