summaryrefslogtreecommitdiffstats
path: root/config/toolchain
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-01-02 20:39:31 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-01-02 20:39:38 (GMT)
commiteaaddcc9e5d9b717f4ae0ac4ee8dc6aa28fab133 (patch)
tree857319ea4d4b99c7108bcc58a22d10a268572a1a /config/toolchain
parentc820502e69b8c3222bbf1162d21820bebcf71202 (diff)
downloadhdf5-eaaddcc9e5d9b717f4ae0ac4ee8dc6aa28fab133.zip
hdf5-eaaddcc9e5d9b717f4ae0ac4ee8dc6aa28fab133.tar.gz
hdf5-eaaddcc9e5d9b717f4ae0ac4ee8dc6aa28fab133.tar.bz2
Add PGI toolchain
Diffstat (limited to 'config/toolchain')
-rw-r--r--config/toolchain/PGI.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/toolchain/PGI.cmake b/config/toolchain/PGI.cmake
new file mode 100644
index 0000000..9710d22
--- /dev/null
+++ b/config/toolchain/PGI.cmake
@@ -0,0 +1,10 @@
+# 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 "")