summaryrefslogtreecommitdiffstats
path: root/config/toolchain/ icc.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-02-17 22:37:48 (GMT)
committerGitHub <noreply@github.com>2023-02-17 22:37:48 (GMT)
commit79ed1cc15f0926a577bd8da96fc551dfea5e8c40 (patch)
tree2c06ea4d335ff8cb7e7552f1ef12675518bf172d /config/toolchain/ icc.cmake
parent593484fa0ee30e42a7b735e6a08744b736885d11 (diff)
downloadhdf5-79ed1cc15f0926a577bd8da96fc551dfea5e8c40.zip
hdf5-79ed1cc15f0926a577bd8da96fc551dfea5e8c40.tar.gz
hdf5-79ed1cc15f0926a577bd8da96fc551dfea5e8c40.tar.bz2
Merge toolchain lowercase names and updates #2426 (#2468)
Diffstat (limited to 'config/toolchain/ icc.cmake')
-rw-r--r--config/toolchain/ icc.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/toolchain/ icc.cmake b/config/toolchain/ icc.cmake
new file mode 100644
index 0000000..97f6a64
--- /dev/null
+++ b/config/toolchain/ icc.cmake
@@ -0,0 +1,11 @@
+# Uncomment the following to use cross-compiling
+#set(CMAKE_SYSTEM_NAME Linux)
+
+set(CMAKE_COMPILER_VENDOR "intel")
+
+set(CMAKE_C_COMPILER icc)
+set(CMAKE_CXX_COMPILER icpc)
+set(CMAKE_Fortran_COMPILER ifort)
+
+# the following is used if cross-compiling
+set(CMAKE_CROSSCOMPILING_EMULATOR "")