[PATCH] D47094: [CMake] Reland "Detect the compiler runtime and standard library"

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 18 16:58:48 PDT 2018


phosek updated this revision to Diff 147618.
phosek added a comment.

So after testing this on Windows, I found out it was actually `-###` that's breaking. The problem is that I cannot use `check_c_compiler_flag` because `-###` breaks CMake so I have to use compiler detection instead, `clang-cl` also seems to be refusing both `-###` and `-print-libgcc-file-name` so disabling both on Windows. Let me know if you have any other idea on how to address this.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D47094

Files:
  compiler-rt/CMakeLists.txt
  compiler-rt/cmake/Modules/CompilerRTUtils.cmake
  compiler-rt/cmake/config-ix.cmake

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47094.147618.patch
Type: text/x-patch
Size: 8184 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180518/dd572582/attachment.bin>


More information about the llvm-commits mailing list