[PATCH] [libcxx] Add support for building and testing with an ABI library not along linker paths
Eric Fiselier
eric at efcs.ca
Fri Aug 22 22:46:21 PDT 2014
Added documentation on how to build libc++ against a non-installed ABI library.
Unfortunately not only does the user have to pass `-DCMAKE_LIBRARY_PATH=/path/to/lib` to CMake, but they also need to set `RPATH=/path/to/lib` when building libc++.
CMake does not have a mechanism for configuring relative paths via CMake variable.
We could manually add `-Wl,-rpath -Wl,<lib-path>` for all paths in `CMAKE_LIBRARY_PATH` but this also seems less than ideal.
http://reviews.llvm.org/D5038
Files:
CMakeLists.txt
cmake/HandleLibCXXABI.cmake
cmake/config-ix.cmake
lib/CMakeLists.txt
test/lit.cfg
test/lit.site.cfg.in
www/index.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5038.12877.patch
Type: text/x-patch
Size: 15014 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140823/96072564/attachment.bin>
More information about the cfe-commits
mailing list