Skip to content

Commit

Permalink
[CLC][cmake] Add missing dependency on LIBCLC_LIBRARY_OUTPUT_INTDIR
Browse files Browse the repository at this point in the history
While processing bc files the OUT_DIR should exist. Sinse we have a
separate target for LIBCLC_LIBRARY_OUTPUT_INTDIR, we add a dependency on
it instead of forcing directory creation during bc processing.
  • Loading branch information
e-kud committed Sep 11, 2024
1 parent d3d9521 commit 783340c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libclc/cmake/modules/AddLibclc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ macro(add_libclc_builtin_set arch_suffix)
IN_FILE ${builtins_link_lib}
OUT_DIR ${LIBCLC_LIBRARY_OUTPUT_INTDIR}
OPT_FLAGS ${ARG_OPT_FLAGS}
DEPENDENCIES ${builtins_link_lib_tgt})
DEPENDENCIES ${builtins_link_lib_tgt} ${LIBCLC_LIBRARY_OUTPUT_INTDIR})

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

0 comments on commit 783340c

Please sign in to comment.