Separate SIMD flag detection from management
commitc4cd99684a103291ba97811b953e82cf0eb38f49
authorErik Lindahl <erik@kth.se>
Sat, 11 Nov 2017 23:04:20 +0000 (11 16:04 -0700)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 21 Nov 2017 06:42:07 +0000 (21 07:42 +0100)
tree6b15dcf20619d8a6f9097187b284b9aa4b397198
parent543f83db962d1c1faee55b32c0f82dadc9e411c9
Separate SIMD flag detection from management

This provides separate cmake functions to detect the flags
required to compile each SIMD instruction set. These
functions do not automatically add the SIMD flags to the
default flags, in order to make it possible to detect flags
for many SIMD instruction sets and use different flags for
different files.

Change-Id: I469a0cf0fafe3793d14dbcf0e72fd18f44a3bfe8
cmake/gmxFindFlagsForSource.cmake
cmake/gmxManageSimd.cmake
cmake/gmxSimdFlags.cmake [new file with mode: 0644]