Don't set CFLAGS for Phi in toolchain
authorRoland Schulz <roland@utk.edu>
Wed, 22 Oct 2014 01:23:29 +0000 (21:23 -0400)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 10 Feb 2015 22:04:16 +0000 (23:04 +0100)
commit1e1f18a50ac010fa3c8e1586f63ff9ac9009449d
treefbb52a3ec8d234bd750a00a0ee99c602cb094b27
parentaa4b14b2706205705bd87e623dc493d11707fae9
Don't set CFLAGS for Phi in toolchain

The recommended way to set those flags is with CMAKE_*_FLAGS_INIT but
that is only passible in a platform file because those set in a toolchain
file get overwritten.

This fixes that extra CFLAGS passed on the command line don't get ignored.
Also move setting of fftw out of platform file because those should
be project independent.

Change-Id: I5f4d70efd8369bdef5f5060959e3568026d6820c
CMakeLists.txt
cmake/Platform/Linux-Intel-C-XeonPhi.cmake [new file with mode: 0644]
cmake/Platform/Linux-Intel-CXX-XeonPhi.cmake [new file with mode: 0644]
cmake/Platform/XeonPhi.cmake