Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update minimum GCC and NAG Version #325

Merged
merged 10 commits into from
May 21, 2024
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

### Changed

### Deprecated

## [4.0.0] - 2024-05-21

### Added

- Add FMS as a library rather than part of Baselibs
- Added `Findlibyaml.cmake` to support FMS with yaml support
- FMS with YAML support is controlled by `-DFMS_BUILT_WITH_YAML` as there is no good way to determine how FMS was built
Expand All @@ -21,10 +29,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Change the minimum required GCC compiler version to be 11.2
- Change the minumum required NAG compiler verison to be 7.2
- Update CI to use Baselibs v8.0.2

### Deprecated

## [3.45.2] - 2024-05-16

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions compiler/flags/GNU_Fortran.cmake
Original file line number Diff line number Diff line change
@@ -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 10.3)
message(FATAL_ERROR "${CMAKE_Fortran_COMPILER_ID} version must be at least 10.3!")
endif()

set (FOPT0 "-O0")
Expand Down
4 changes: 2 additions & 2 deletions compiler/flags/NAG_Fortran.cmake
Original file line number Diff line number Diff line change
@@ -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.2)
message(FATAL_ERROR "${CMAKE_Fortran_COMPILER_ID} version must be at least 7.2!")
endif()

set (FREAL8 "-r8")
Expand Down
Loading