[PATCH] [compiler-rt] Make compiler-rt tests work with relocatable SDKs on OS X

Kuba Brecka kuba.brecka at gmail.com
Mon Sep 8 19:09:38 PDT 2014


Another try to solve the issue with compiler-rt unit tests and relocatable SDKs on OS X. This patch adds a check into the build process that:

* before using the just-built clang, tries to compile a single-line `#include <iostream>`
* if that fails, prints out a user-friendly message that they should copy or symlink existing C++ headers into the LLVM output directory

http://reviews.llvm.org/D4047

Files:
  cmake/Modules/CompilerRTCompile.cmake
  lib/sanitizer_common/tests/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4047.13436.patch
Type: text/x-patch
Size: 2568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140909/9f970cde/attachment.bin>


More information about the llvm-commits mailing list