Refuse to build with clang 3.0
authorMark Abraham <mark.j.abraham@gmail.com>
Tue, 20 Nov 2012 13:38:39 +0000 (14:38 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 29 Nov 2012 10:37:23 +0000 (11:37 +0100)
commitbc34c5f9297f46c6520c48b21f190006d47abf3f
treede69d2a437cd816498a41de820e6dbae95acf0f1
parente05a34147012a33c3d0f5b522e9dcc86dce33822
Refuse to build with clang 3.0

The 3.0 compiler is definitely buggy for the group kernels, so
we refuse to build with this version at all. The test
works for both C and C++, and correctly detects (say) Apple
clang 4.1 as clang based on the LLVM 3.0 back end, like
everybody else seems to base their numbering on!

Refs #1039

Change-Id: I259fab3c022e0cf94c06ff34d2faf38663d1d7b7
CMakeLists.txt
cmake/TestClangVersion.c [new file with mode: 0644]
cmake/gmxDetectClang30.cmake [new file with mode: 0644]