Fix FindFFTW behaviour
authorMark Abraham <mark.j.abraham@gmail.com>
Tue, 22 Sep 2015 14:46:08 +0000 (16:46 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sat, 3 Oct 2015 18:10:25 +0000 (20:10 +0200)
commit1909f2ffe7d9d248e1f04da505c4c6bac0d7ee76
treeb8753aa60a8c5e1832279e2224e80d8b41b229a3
parentb8c0f1efe6883a3d8bbb257d6213edf44db7d904
Fix FindFFTW behaviour

FFTW 3.3.5 with --enable-avx* will enable any useful 128-bit
SIMD flavours by default. (See Erik's 579cec9a6 in their repo.) Our
detection code will observe this, and will be silent.

With earlier FFTW, if we're doing a GROMACS AVX build, and we have
FFTW SIMD, and not SSE(2) SIMD, then we want to warn the user to
reconfigure FFTW to add SSE support. Made this behaviour correct, and
minimized the necessary infrastructure for it.

Added detection support for some other SIMD-support symbols that
are present in the FFTW repo for upcoming hardware.

Fixes #1809

Change-Id: If586250895664581316505a5595da7442e789f8d
cmake/FindFFTW.cmake
cmake/gmxManageFFTLibraries.cmake