summaryrefslogtreecommitdiff
path: root/Modules/Compiler/NVHPC-Fortran.cmake
diff options
context:
space:
mode:
authorTin Huynh <ahuynh@nvidia.com>2020-08-25 19:54:13 -0700
committerBrad King <brad.king@kitware.com>2021-01-27 09:53:02 -0500
commit83ea49818f4d7a031d972e26e0cb1d561ed20d76 (patch)
tree11544d67f57130520afd5d019d71211013a286ec /Modules/Compiler/NVHPC-Fortran.cmake
parent9b96fbc358aba8110ba09d3ad2262223ec0f0167 (diff)
downloadcmake-83ea49818f4d7a031d972e26e0cb1d561ed20d76.tar.gz
NVHPC: Add support for NVIDIA HPC SDK compilers based on PGI
Identify the compilers as `NVHPC` to distinguish it from the older PGI compilers from which they evolved, and from other `NVIDIA` compilers. Fixes: #20887
Diffstat (limited to 'Modules/Compiler/NVHPC-Fortran.cmake')
-rw-r--r--Modules/Compiler/NVHPC-Fortran.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Compiler/NVHPC-Fortran.cmake b/Modules/Compiler/NVHPC-Fortran.cmake
new file mode 100644
index 0000000000..59755b3a71
--- /dev/null
+++ b/Modules/Compiler/NVHPC-Fortran.cmake
@@ -0,0 +1,3 @@
+include(Compiler/PGI-Fortran)
+include(Compiler/NVHPC)
+__compiler_nvhpc(Fortran)