[libclc] [libclc] Fix commands in compile_to_bc are executed sequentially (PR #130755)
Wenju He via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 10 01:09:02 PDT 2025
================
@@ -63,13 +65,15 @@ function(compile_to_bc)
${ARG_DEPENDENCIES}
DEPFILE ${ARG_OUTPUT}.d
)
+ add_custom_target( ${ARG_TARGET} DEPENDS ${ARG_OUTPUT}${TMP_SUFFIX} )
----------------
wenju-he wrote:
I have simplified the code by removing ${ARG_TARGET}-as
The issue we observing is that .cl files are compiled sequentially. We don't see problem with .ll file, so we can leave it as-is.
https://github.com/llvm/llvm-project/pull/130755
More information about the cfe-commits
mailing list