[PATCH] D41673: [CMake] Install resource files into a share/ directory

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 18:13:49 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL322153: [CMake] Install resource files into a share/ directory (authored by phosek, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D41673?vs=128439&id=129207#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D41673

Files:
  compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake
  compiler-rt/trunk/lib/dfsan/CMakeLists.txt


Index: compiler-rt/trunk/lib/dfsan/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/dfsan/CMakeLists.txt
+++ compiler-rt/trunk/lib/dfsan/CMakeLists.txt
@@ -44,4 +44,4 @@
                    DEPENDS done_abilist.txt libc_ubuntu1404_abilist.txt)
 add_dependencies(dfsan dfsan_abilist)
 install(FILES ${dfsan_abilist_filename}
-        DESTINATION ${COMPILER_RT_INSTALL_PATH})
+        DESTINATION ${COMPILER_RT_INSTALL_PATH}/share)
Index: compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake
===================================================================
--- compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake
+++ compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake
@@ -439,7 +439,7 @@
   add_custom_target(${target_name} DEPENDS ${dst_file})
   # Install in Clang resource directory.
   install(FILES ${file_name}
-    DESTINATION ${COMPILER_RT_INSTALL_PATH}
+    DESTINATION ${COMPILER_RT_INSTALL_PATH}/share
     COMPONENT ${component})
   add_dependencies(${component} ${target_name})
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41673.129207.patch
Type: text/x-patch
Size: 1054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180110/6d288c7b/attachment.bin>


More information about the llvm-commits mailing list