[compiler-rt] r248630 - [CMake] [darwin] [builtins] Should install the lipo'd builtin libraries.

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 15:39:19 PDT 2015


Author: cbieneman
Date: Fri Sep 25 17:39:19 2015
New Revision: 248630

URL: http://llvm.org/viewvc/llvm-project?rev=248630&view=rev
Log:
[CMake] [darwin] [builtins] Should install the lipo'd builtin libraries.

On darwin we don't install the single-architecture builtin libraries, but we do need to install the lipo'd ones.

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=248630&r1=248629&r2=248630&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake (original)
+++ compiler-rt/trunk/cmake/Modules/CompilerRTDarwinUtils.cmake Fri Sep 25 17:39:19 2015
@@ -194,6 +194,8 @@ function(darwin_lipo_libs name)
   add_custom_target(${name}
     DEPENDS ${COMPILER_RT_LIBRARY_OUTPUT_DIR}/lib${name}.a)
   add_dependencies(${LIB_PARENT_TARGET} ${name})
+  install(FILES ${COMPILER_RT_LIBRARY_OUTPUT_DIR}/lib${name}.a
+    DESTINATION ${COMPILER_RT_INSTALL_PATH})
 endfunction()
 
 # Filter out generic versions of routines that are re-implemented in




More information about the llvm-commits mailing list