Don't set CFLAGS for Phi in toolchain
authorRoland Schulz <roland@utk.edu>
Wed, 22 Oct 2014 01:23:29 +0000 (21:23 -0400)
committerRoland Schulz <roland@utk.edu>
Tue, 26 May 2015 18:49:29 +0000 (11:49 -0700)
commitd0c438a1941955348e7307cb72b69fd9993a89f0
treebdce9cba3f830683f2d2a4e92d05ad5693f6af1c
parent4b1e5a1868b49cea906b9822df0f21c132088573
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