summaryrefslogtreecommitdiffstats
path: root/config/toolchain/PGI.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-01-07 17:07:52 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-01-07 17:07:52 (GMT)
commitf7d530dd275e176e59b26c1b7363ba16b3ab6c9c (patch)
treeadbee762e257098108c6e19ba28112e539f6a438 /config/toolchain/PGI.cmake
parent906479d3978adabbacb59da8ec7ffb85d0ddfc2f (diff)
downloadhdf5-f7d530dd275e176e59b26c1b7363ba16b3ab6c9c.zip
hdf5-f7d530dd275e176e59b26c1b7363ba16b3ab6c9c.tar.gz
hdf5-f7d530dd275e176e59b26c1b7363ba16b3ab6c9c.tar.bz2
HDFFV-10674, 10664, 10674
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 "")