[compiler-rt] r249158 - [CMake] Workaround for the lipo output directory not being created.

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 10:37:40 PDT 2015


Author: cbieneman
Date: Fri Oct  2 12:37:40 2015
New Revision: 249158

URL: http://llvm.org/viewvc/llvm-project?rev=249158&view=rev
Log:
[CMake] Workaround for the lipo output directory not being created.

This should resolve an issue reported by mclow.

Modified:
    compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake

Modified: compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake?rev=249158&r1=249157&r2=249158&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake (original)
+++ compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake Fri Oct  2 12:37:40 2015
@@ -187,6 +187,7 @@ function(darwin_lipo_libs name)
     "LIPO_FLAGS;DEPENDS"
     ${ARGN})
   add_custom_command(OUTPUT ${LIB_OUTPUT_DIR}/lib${name}.a
+    COMMAND ${CMAKE_COMMAND} -E make_directory ${LIB_OUTPUT_DIR}
     COMMAND lipo -output
             ${LIB_OUTPUT_DIR}/lib${name}.a
             -create ${LIB_LIPO_FLAGS}




More information about the llvm-commits mailing list