[PATCH] D22469: [compiler-rt] Don't require c++ headers when configuring compiler-rt builds

Jonas Hahnfeld via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 00:48:37 PDT 2016


Hahnfeld added a comment.

@compnerd I'm by now a bit lost: How do you compile the sanitizers without a working C++ compiler? They really do need the headers and a linkable library (I tried to add `-nostdlib` in https://reviews.llvm.org/D23005 but the bots didn't like it)

Or do you pass `COMPILER_RT_BUILD_SANITIZERS=Off`? I think this will currently not disable the sanitizer tests, maybe this needs to be fixed?
Anyway, could you try directly configuring `lib/builtins` as Chris suggested? This will only test for a C compiler as I pointed out above.


Repository:
  rL LLVM

https://reviews.llvm.org/D22469





More information about the llvm-commits mailing list