Skip to content

Commit

Permalink
Add quiet flag for NAG Fortran
Browse files Browse the repository at this point in the history
This PR adds `-quiet` to the NAG Fortran compiler flags. This flag will "[s]uppress the compiler banner and the summary line, so that only diagnostic messages will appear."
  • Loading branch information
mathomp4 committed Mar 8, 2024
1 parent bcf3ff4 commit a592f08
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

# [1.3.0] - 2024-03-03
### Changed

- Add `-quiet` flag for NAG Fortran

## [1.3.0] - 2024-03-03

### Added

Expand Down
4 changes: 2 additions & 2 deletions cmake/NAG.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(mismatch "-mismatch")

set(CMAKE_Fortran_FLAGS_DEBUG "-O0")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3")
#set(CMAKE_Fortran_FLAGS "-g ${cpp} ${traceback} ${check_all} -w=x95 -nocheck_modtime")
set(CMAKE_Fortran_FLAGS "-g ${cpp} ${traceback} ${check_all} -w=x95 -nocheck_modtime")
#set(CMAKE_Fortran_FLAGS "-g -quiet ${cpp} ${traceback} ${check_all} -w=x95 -nocheck_modtime")
set(CMAKE_Fortran_FLAGS "-g -quiet ${cpp} ${traceback} ${check_all} -w=x95 -nocheck_modtime")

add_definitions(-D_NAG)

0 comments on commit a592f08

Please sign in to comment.