summaryrefslogtreecommitdiffstats
path: root/config/toolchain/pgi.cmake
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2023-02-07 14:33:17 (GMT)
committerGitHub <noreply@github.com>2023-02-07 14:33:17 (GMT)
commit4e621441ce93459323d650561030613d3a103a9e (patch)
treefb154ba21ae480bd1777bb0137b09da0fda4ca79 /config/toolchain/pgi.cmake
parent35a9c849cd6c87f563ab27ce724159c150801c9b (diff)
downloadhdf5-4e621441ce93459323d650561030613d3a103a9e.zip
hdf5-4e621441ce93459323d650561030613d3a103a9e.tar.gz
hdf5-4e621441ce93459323d650561030613d3a103a9e.tar.bz2
Updates to known problem, release date, and cherry-picks of latest changes to hdf5_1_8. (#2430)
--------- Co-authored-by: Allen Byrne <50328838+byrnHDF@users.noreply.github.com>
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 "")