[libclc] [libclc] Fix build with Unix Makefiles (PR #89147)
Fraser Cormack via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 22 01:51:12 PDT 2024
================
@@ -39,6 +39,10 @@ function(compile_to_bc)
set( TARGET_ARG "-target" ${ARG_TRIPLE} )
endif()
+ # Ensure the directory we are told to output to exists
+ get_filename_component( ARG_OUTPUT_DIR ${ARG_OUTPUT} DIRECTORY )
----------------
frasercrmck wrote:
Yeah, there very well may be. I couldn't find anything obvious, but I'm sure I'll keep iterating on the build system over time so I'll keep an eye out.
https://github.com/llvm/llvm-project/pull/89147
More information about the cfe-commits
mailing list