Skip to content

Commit

Permalink
Merge pull request #117 from Goddard-Fortran-Ecosystem/feature/mathom…
Browse files Browse the repository at this point in the history
…p4/add-quiet-nag

Add quiet flag for NAG Fortran
  • Loading branch information
tclune authored Mar 8, 2024
2 parents 29842af + a09b511 commit 0f04c68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed
### Changed

- Added `-quiet` flag for NAG Fortran

## [1.13.1] - 2024-03-07

Expand Down
6 changes: 3 additions & 3 deletions cmake/NAG.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set (FPP_FLAG "${FPP_FLAG} -fpp")

# set (CMAKE_Fortran_FLAGS_DEBUG "${FPP_FLAG} -O0 -gline -C=all")
# workaround for nag 6.2
set (CMAKE_Fortran_FLAGS_DEBUG "-C=array -C=alias -C=bits -C=calls -C=do -C=intovf -C=present -C=pointer -O0")
set (CMAKE_Fortran_FLAGS_RELEASE "${FPP_FLAG} -O3")
set (CMAKE_Fortran_FLAGS_DEBUG "-quiet -C=array -C=alias -C=bits -C=calls -C=do -C=intovf -C=present -C=pointer -O0")
set (CMAKE_Fortran_FLAGS_RELEASE "-quiet ${FPP_FLAG} -O3")

0 comments on commit 0f04c68

Please sign in to comment.