diff --git a/CHANGELOG.md b/CHANGELOG.md index 24e69496..131c078b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Changed + +- Update minimum Fortran compiler versions + - Intel 18.0.5 + - GNU 9.2.0 + - NAG 7.0 + ### Fixed ### Removed ### Added diff --git a/compiler/flags/GNU_Fortran.cmake b/compiler/flags/GNU_Fortran.cmake index 554a2232..4d7c5c3c 100644 --- a/compiler/flags/GNU_Fortran.cmake +++ b/compiler/flags/GNU_Fortran.cmake @@ -1,5 +1,5 @@ -if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 8.3) - message(FATAL_ERROR "${CMAKE_Fortran_COMPILER_ID} version must be at least 8.3!") +if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 9.2) + message(FATAL_ERROR "${CMAKE_Fortran_COMPILER_ID} version must be at least 9.2!") endif() set (FOPT0 "-O0") diff --git a/compiler/flags/Intel_Fortran.cmake b/compiler/flags/Intel_Fortran.cmake index 2ce35707..06bf4cf5 100644 --- a/compiler/flags/Intel_Fortran.cmake +++ b/compiler/flags/Intel_Fortran.cmake @@ -1,5 +1,5 @@ -if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 15.1) - message(FATAL_ERROR "${CMAKE_Fortran_COMPILER_ID} version must be at least 15.1!") +if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 18.0.5) + message(FATAL_ERROR "${CMAKE_Fortran_COMPILER_ID} version must be at least 18.0.5!") endif() set (FOPT0 "-O0") diff --git a/compiler/flags/NAG_Fortran.cmake b/compiler/flags/NAG_Fortran.cmake index 5e1a3c89..d096d0b7 100644 --- a/compiler/flags/NAG_Fortran.cmake +++ b/compiler/flags/NAG_Fortran.cmake @@ -1,5 +1,5 @@ -if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 6.0) - message(FATAL_ERROR "${CMAKE_Fortran_COMPILER_ID} version must be at least 6.0!") +if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.0) + message(FATAL_ERROR "${CMAKE_Fortran_COMPILER_ID} version must be at least 7.0!") endif() set (FREAL8 "-r8")