[libclc] [libclc] Fix build with Unix Makefiles (PR #89147)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 18 01:18:40 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 )
----------------
arsenm wrote:

I thought there was a way to express this as a DEPENDS of the command 

https://github.com/llvm/llvm-project/pull/89147


More information about the cfe-commits mailing list