[PATCH] D17789: [cmake] Check the compiler version first

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 1 16:34:07 PST 2016


rnk created this revision.
rnk added a reviewer: beanz.
rnk added a subscriber: llvm-commits.

Otherwise users get messages from CheckAtomic about missing libatomic
instead of a sensible message that says "use GCC 4.7 or newer".

I structured the change along the lines of HandleLLVMStdlib.cmake, which
I'm not sure I like. I'm open to suggestions on how to make sure we do
this check early in LLVM, and do it at some point in the standalone
clang build.

http://reviews.llvm.org/D17789

Files:
  cmake/config-ix.cmake
  cmake/modules/CheckCompilerVersion.cmake
  cmake/modules/HandleLLVMOptions.cmake

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17789.49566.patch
Type: text/x-patch
Size: 5346 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160302/3352957d/attachment.bin>


More information about the llvm-commits mailing list