Skip to content

Commit

Permalink
Merge pull request #162 from Goddard-Fortran-Ecosystem/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
tclune authored Mar 23, 2022
2 parents cc33ac7 + e459ca2 commit 2453d80
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 22 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.MD
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

- NVHPC compiler support

### Removed

- Removed `PGI.mk` and `NAG.mk` files which seem to be unneeded cruft

## [1.5.5] - 2022-03-07


Expand Down
10 changes: 0 additions & 10 deletions cmake/NAG.mk

This file was deleted.

9 changes: 9 additions & 0 deletions cmake/NVHPC.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Compiler specific flags for NVIDIA Fortran compiler

set(traceback "-traceback")
set(check_all "-Mbounds -Mchkstk")

set(CMAKE_Fortran_FLAGS_DEBUG "-O0")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3")
set(CMAKE_Fortran_FLAGS "-g ${traceback} ${check_all} -Mallocatable=03")

3 changes: 1 addition & 2 deletions cmake/PGI.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Compiler specific flags for PGI Fortran compiler
# (or is this now NVIDIA?)

set(traceback "-traceback")
set(check_all "-Mbounds -Mchkfpstk -Mchkstk")
set(check_all "-Mbounds -Mchkstk")

set(CMAKE_Fortran_FLAGS_DEBUG "-O0")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3")
Expand Down
10 changes: 0 additions & 10 deletions cmake/PGI.mk

This file was deleted.

0 comments on commit 2453d80

Please sign in to comment.