hanchenye-llvm-project/libcxxabi
Don Hinton ae858bf65f [cmake] [libcxxabi] Fix find_path() problems when cross compiling
When CMAKE_SYSROOT or CMAKE_FIND_ROOT_PATH is set, cmake
recommends setting CMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY
globally which means find_path() always prepends CMAKE_SYSROOT or
CMAKE_FIND_ROOT_PATH to all paths used in the search.

However, these find_path() invocations are looking for paths in
the libcxx and libunwind projects on the host system, not the
target system, which can be done by passing
NO_CMAKE_FIND_ROOT_PATH.

Differential Revision: https://reviews.llvm.org/D41623

llvm-svn: 323145
2018-01-22 19:41:05 +00:00
..
cmake Fix standalone test-suite run. 2018-01-17 22:07:09 +00:00
fuzz add cxa_demangle_fuzzer 2016-12-28 03:28:29 +00:00
include [libcxxabi] Clean up macro usage. 2017-03-01 11:42:01 +00:00
lib
src [libc++abi] Add install-cxxabi-stripped target 2017-11-30 23:25:51 +00:00
test Fix standalone test-suite run. 2018-01-17 22:07:09 +00:00
www [CMake] Be more consistent about naming targets and components in libc++abi 2016-08-28 18:28:51 +00:00
.arcconfig [libcxxabi] Set up .arcconfig to point to new Diffusion CXXA repository 2017-12-04 23:14:03 +00:00
.clang-format Fully Reformat fallback_malloc.cpp 2017-03-04 03:23:15 +00:00
.gitignore
CMakeLists.txt [cmake] [libcxxabi] Fix find_path() problems when cross compiling 2018-01-22 19:41:05 +00:00
CREDITS.TXT Try again, this time with the correct address 2017-12-29 19:26:28 +00:00
LICENSE.TXT Update LICENSE.TXT to 2017 2017-01-03 11:21:43 +00:00