summaryrefslogtreecommitdiffstats
path: root/config/intel.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-10-04 18:04:53 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-10-04 18:04:53 (GMT)
commit36594716c34547d2fa4cfdf576193022a64557a8 (patch)
treefa8b2911bafa42e15e0d40e59d6cddf9f509e701 /config/intel.cmake
parentd581cbeb9e06e4670f06608eb24bd65e17cd2b14 (diff)
parent2a95ab5acbe032f58891b653f56b9db8a4938d95 (diff)
downloadhdf5-36594716c34547d2fa4cfdf576193022a64557a8.zip
hdf5-36594716c34547d2fa4cfdf576193022a64557a8.tar.gz
hdf5-36594716c34547d2fa4cfdf576193022a64557a8.tar.bz2
Merge pull request #1277 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '2a95ab5acbe032f58891b653f56b9db8a4938d95': TRILABS-21 add toolchain related info and files TRILABS-21 Add intel compiler support Fix undef for Xl compilers TRILAB-21 Intel flags
Diffstat (limited to 'config/intel.cmake')
-rw-r--r--config/intel.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/intel.cmake b/config/intel.cmake
new file mode 100644
index 0000000..5ef9282
--- /dev/null
+++ b/config/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(PRESET_PRINTF_LL "l")