Files
CMake/Modules
Justin LaPolla 9ee4a42813 Cray: Fix Cray compiler detection on new platforms
Customer reported problems detecting the Cray compiler on their Apollo80
system. We were checking for the __CRAYXC and __CRAYXE predefined
macros. These macros reflect the platform that the compiler is running
on, i.e. Cray XC and Cray XE machines. Naturally, this didn't work on
Apollo80.

This commit uses the official Cray compiler identification macros which
are defined on every platform:

    CCE Version     C Macro     C++ Macro    Fortran Macro
    ============    ========    =========    =============
    version <  9    _CRAYC      _CRAYC       _CRAYFTN
    version >= 9    __cray__    __cray__     _CRAYFTN
2020-12-01 12:20:47 -05:00
..
2020-09-30 08:05:50 -04:00
2020-07-02 00:37:34 +05:30
2020-11-02 09:39:36 -05:00
2020-07-02 00:38:40 +05:30
2020-07-02 00:43:40 +05:30
2020-07-07 09:22:28 -04:00
2020-07-07 09:22:28 -04:00
2020-07-02 00:40:09 +05:30
2020-07-01 10:55:32 -04:00
2020-07-02 00:44:08 +05:30
2020-10-02 16:17:36 +02:00
2020-07-27 10:43:55 -04:00

See the "Find Modules" section of the cmake-developer(7) manual page.

For more information about how to contribute modules to CMake, see this page:
https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/dev/Module-Maintainers