summaryrefslogtreecommitdiffstats
path: root/config/toolchain/intel.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-10-29 17:15:13 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-10-29 17:15:13 (GMT)
commit0ce736c15a393e26ede6235740dadc72bb41006c (patch)
treedd81608c0a572ff6b7615799978ede239d32a390 /config/toolchain/intel.cmake
parent8c26358eca11455235df239a7e9f3a225b3141da (diff)
downloadhdf5-0ce736c15a393e26ede6235740dadc72bb41006c.zip
hdf5-0ce736c15a393e26ede6235740dadc72bb41006c.tar.gz
hdf5-0ce736c15a393e26ede6235740dadc72bb41006c.tar.bz2
HDFFV-10594, HDFFV-10332, HDFFV-9059 merge from develop
Diffstat (limited to 'config/toolchain/intel.cmake')
-rw-r--r--config/toolchain/intel.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/toolchain/intel.cmake b/config/toolchain/intel.cmake
new file mode 100644
index 0000000..f1a5734
--- /dev/null
+++ b/config/toolchain/intel.cmake
@@ -0,0 +1,10 @@
+# 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 "")