[llvm] r201934 - Revert "Use relative rpath so that the installation and build dirs are relocatable."
Rafael Espindola
rafael.espindola at gmail.com
Sat Feb 22 04:36:30 PST 2014
Author: rafael
Date: Sat Feb 22 06:36:28 2014
New Revision: 201934
URL: http://llvm.org/viewvc/llvm-project?rev=201934&view=rev
Log:
Revert "Use relative rpath so that the installation and build dirs are relocatable."
This reverts commit r201921.
This should bring the polly bots back. I will try to build it locally to
understand how cmake was setting the rpath of LLVMPolly.so.
Modified:
llvm/trunk/CMakeLists.txt
Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=201934&r1=201933&r2=201934&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Sat Feb 22 06:36:28 2014
@@ -423,13 +423,9 @@ set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${LL
set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${LLVM_BINARY_DIR}/lib )
set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${LLVM_BINARY_DIR}/lib )
-set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
-if (APPLE)
- set(CMAKE_INSTALL_NAME_DIR "@rpath")
- set(CMAKE_INSTALL_RPATH "@executable_path/../lib")
-else(UNIX)
- set(CMAKE_INSTALL_RPATH "\$ORIGIN/../lib")
-endif()
+if( NOT DEFINED CMAKE_INSTALL_RPATH )
+ set( CMAKE_INSTALL_RPATH "\$ORIGIN/../lib")
+endif( NOT DEFINED CMAKE_INSTALL_RPATH )
set(CMAKE_INCLUDE_CURRENT_DIR ON)
More information about the llvm-commits
mailing list