================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to