[compiler-rt] r322156 - Revert "[CMake] Install resource files into a share/ directory"

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 18:24:12 PST 2018


Author: phosek
Date: Tue Jan  9 18:24:12 2018
New Revision: 322156

URL: http://llvm.org/viewvc/llvm-project?rev=322156&view=rev
Log:
Revert "[CMake] Install resource files into a share/ directory"

This reverts commit r322153 because it broke the sanitizer bots.

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

Modified: compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake?rev=322156&r1=322155&r2=322156&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake (original)
+++ compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake Tue Jan  9 18:24:12 2018
@@ -439,7 +439,7 @@ macro(add_compiler_rt_resource_file targ
   add_custom_target(${target_name} DEPENDS ${dst_file})
   # Install in Clang resource directory.
   install(FILES ${file_name}
-    DESTINATION ${COMPILER_RT_INSTALL_PATH}/share
+    DESTINATION ${COMPILER_RT_INSTALL_PATH}
     COMPONENT ${component})
   add_dependencies(${component} ${target_name})
 

Modified: compiler-rt/trunk/lib/dfsan/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/dfsan/CMakeLists.txt?rev=322156&r1=322155&r2=322156&view=diff
==============================================================================
--- compiler-rt/trunk/lib/dfsan/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/dfsan/CMakeLists.txt Tue Jan  9 18:24:12 2018
@@ -44,4 +44,4 @@ add_custom_command(OUTPUT ${dfsan_abilis
                    DEPENDS done_abilist.txt libc_ubuntu1404_abilist.txt)
 add_dependencies(dfsan dfsan_abilist)
 install(FILES ${dfsan_abilist_filename}
-        DESTINATION ${COMPILER_RT_INSTALL_PATH}/share)
+        DESTINATION ${COMPILER_RT_INSTALL_PATH})




More information about the llvm-commits mailing list