commit | f0da70a96432dff8f9ebf054b352ce9db45f3ad6 | [log] [tgz] |
---|---|---|
author | Chuck Atkins <chuck.atkins@kitware.com> | Mon Jul 31 15:53:13 2017 -0400 |
committer | Tim Rowley <timothy.o.rowley@intel.com> | Thu Aug 03 11:06:50 2017 -0500 |
tree | 8c3218e36b788630cd8a2d00f9276ab3ff33c85b | |
parent | 9966c85e01a4344d2a6bb76e432e0bed70d52ff6 [diff] |
swr: Add arch flags to support Cray and PGI compilers Note that the Cray flags (-target-cpu=) need to come first since the cray programming environment uses wappers around other compilers. By checking the wrapper flags first, you can be sure to match the wrapper flag instead of the underlying compiler (gcc, intel, pgi, etc.) flags. Signed-off-by: Chuck Atkins <chuck.atkins@kitware.com> Reviewed-by: Tim Rowley <timothy.o.rowley@intel.com>