Displaying 3 results from an estimated 3 matches for "cmake_build_with_install_rpath".
Did you mean:
dcmake_build_with_install_rpath
2015 Dec 26
2
[CMake] Hardcoded rpath?
...here the compiled libc++ tries to load libc++abi at "@rpath/libc++abi.1.dylib", resulting in a dyld error. The issue can be found at https://github.com/Homebrew/homebrew/issues/47149
From what I can tell, this is a result of lines 561-564 of the CMakeLists.txt in the main LLVM repo:
set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
if (APPLE)
set(CMAKE_INSTALL_NAME_DIR "@rpath")
set(CMAKE_INSTALL_RPATH "@executable_path/../lib")
Is there a reason these variables are hardcoded?
-Alex
2014 Feb 12
4
[LLVMdev] llvm trunk build failed in cmake_install.cmake on ARM platform
Hi dear list,
I tried to build llvm+clang on an OpenSuse BuildServer for ARM. The
build was carried out with CMake 2.8.11. In the installation step I got
the following error:
> [26815s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/llvm-3.4.99-336.1.arm/usr/lib/libLLVMSupport.so
> [26815s] CMake Error at lib/Support/cmake_install.cmake:45 (FILE):
> [26815s] file RPATH_CHANGE could
2014 Feb 13
2
[LLVMdev] llvm trunk build failed in cmake_install.cmake on ARM platform
...values that
> are invalid. This sometimes trips up CMake's attempt at reserving
> space for the install-tree RPATH. One may work around the problem
> by telling CMake to build directly with the install-tree RPATH:
>
> http://www.cmake.org/cmake/help/v2.8.12/cmake.html#variable:CMAKE_BUILD_WITH_INSTALL_RPATH
> http://www.cmake.org/cmake/help/v2.8.12/cmake.html#prop_tgt:BUILD_WITH_INSTALL_RPATH
>
> The cost is one may not be able to run the binaries from the build
> tree. To set this for the whole build without modifying the source,
> just add -DCMAKE_BUILD_WITH_INSTALL_RPATH=1 to the c...