[polly] r265872 - Fix: Always honor LLVM_LIBDIR_SUFFIX.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 9 07:09:12 PDT 2016
Author: meinersbur
Date: Sat Apr 9 09:09:08 2016
New Revision: 265872
URL: http://llvm.org/viewvc/llvm-project?rev=265872&view=rev
Log:
Fix: Always honor LLVM_LIBDIR_SUFFIX.
Static libraries where installed into "lib${LLVM_LIBDIR_SUFFIX}" while
shared ones into "lib". I found no justification for this behaviour.
This patch changes both types of libraries to be install into
"lib${LLVM_LIBDIR_SUFFIX}". LLVM and clang use the same behaviour.
This fixes llvm.org/PR27305.
Modified:
polly/trunk/cmake/polly_macros.cmake
Modified: polly/trunk/cmake/polly_macros.cmake
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/cmake/polly_macros.cmake?rev=265872&r1=265871&r2=265872&view=diff
==============================================================================
--- polly/trunk/cmake/polly_macros.cmake (original)
+++ polly/trunk/cmake/polly_macros.cmake Sat Apr 9 09:09:08 2016
@@ -45,7 +45,7 @@ macro(add_polly_library name)
endif( LLVM_LINK_COMPONENTS )
install(TARGETS ${name}
EXPORT LLVMExports
- LIBRARY DESTINATION lib
+ LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX})
set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS ${name})
endmacro(add_polly_library)
More information about the llvm-commits
mailing list