Add CRAY compiler version 'patch' field to 'CMAKE_Fortran_COMPILER_VERSION'
CMake is currently querying the Cray FTN compiler version using:
Modules/CMakeFortranCompilerId.F.in
61 #elif defined(_CRAYFTN)
62 PRINT *, 'INFO:compiler[Cray]'
63 # define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
64 # define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
Cray also provides a
_RELEASE_PATCHLEVEL
Can that be added also? We have some use cases were we need to distinguish between frequent compiler version drops from HP on one of our newer machines.