summaryrefslogtreecommitdiffstats
path: root/config/toolchain/icc.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-02-21 14:26:15 (GMT)
committerGitHub <noreply@github.com>2023-02-21 14:26:15 (GMT)
commitd58db07b3dd16565b924c0dad411cfae4dcf2d5f (patch)
tree01e4f9eb7cdc10710bbba411834e1e2a4164a3ae /config/toolchain/icc.cmake
parent04f0647727677d716a3c1c772d35a660a8ea0dc5 (diff)
downloadhdf5-d58db07b3dd16565b924c0dad411cfae4dcf2d5f.zip
hdf5-d58db07b3dd16565b924c0dad411cfae4dcf2d5f.tar.gz
hdf5-d58db07b3dd16565b924c0dad411cfae4dcf2d5f.tar.bz2
Remove space from toolchain name #2482 (#2484)
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 "")