summaryrefslogtreecommitdiffstats
path: root/config/toolchain/pgi.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-02-17 22:37:26 (GMT)
committerGitHub <noreply@github.com>2023-02-17 22:37:26 (GMT)
commitbfef9945a88d52ad449b2f871c6d0a80ab94170f (patch)
tree11624aa2bc28f16202cb3f35ec87ec9e73a03067 /config/toolchain/pgi.cmake
parent32a54c0e2e836a9d7818cf6adfd4f0259ae2cb59 (diff)
downloadhdf5-bfef9945a88d52ad449b2f871c6d0a80ab94170f.zip
hdf5-bfef9945a88d52ad449b2f871c6d0a80ab94170f.tar.gz
hdf5-bfef9945a88d52ad449b2f871c6d0a80ab94170f.tar.bz2
Develop toolchain lowercase names and updates (#2426)
* lowercase the toolchain filenames * Change name of option define * Update CI with changed toolchain name * Correct Intel compiler names * Account for Intels name for compiler based on clang * Make icx default and rename classic to icc
Diffstat (limited to 'config/toolchain/pgi.cmake')
-rw-r--r--config/toolchain/pgi.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/toolchain/pgi.cmake b/config/toolchain/pgi.cmake
new file mode 100644
index 0000000..ec58cbb
--- /dev/null
+++ b/config/toolchain/pgi.cmake
@@ -0,0 +1,11 @@
+# Uncomment the following to use cross-compiling
+#set(CMAKE_SYSTEM_NAME Linux)
+
+set(CMAKE_COMPILER_VENDOR "PGI")
+
+set(CMAKE_C_COMPILER pgcc)
+set(CMAKE_CXX_COMPILER pgc++)
+set(CMAKE_Fortran_COMPILER pgf90)
+
+# the following is used if cross-compiling
+set(CMAKE_CROSSCOMPILING_EMULATOR "")