summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-10-04 16:40:33 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-10-04 16:40:33 (GMT)
commit2a95ab5acbe032f58891b653f56b9db8a4938d95 (patch)
treefa8b2911bafa42e15e0d40e59d6cddf9f509e701 /config
parent284cb8ffc06e39d16fe0e436beff7587be54ed50 (diff)
downloadhdf5-2a95ab5acbe032f58891b653f56b9db8a4938d95.zip
hdf5-2a95ab5acbe032f58891b653f56b9db8a4938d95.tar.gz
hdf5-2a95ab5acbe032f58891b653f56b9db8a4938d95.tar.bz2
TRILABS-21 add toolchain related info and files
Diffstat (limited to 'config')
-rwxr-xr-xconfig/cmake/scripts/HDF5options.cmake5
-rw-r--r--config/intel.cmake6
2 files changed, 9 insertions, 2 deletions
diff --git a/config/cmake/scripts/HDF5options.cmake b/config/cmake/scripts/HDF5options.cmake
index 3e6aad0..80a28d3 100755
--- a/config/cmake/scripts/HDF5options.cmake
+++ b/config/cmake/scripts/HDF5options.cmake
@@ -96,3 +96,8 @@ set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_ALLOW_EXTERNAL_SUPPORT:STRING
set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_PACKAGE_EXTLIBS:BOOL=ON")
#############################################################################################
+### use a toolchain file
+
+#set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_TOOLCHAIN_FILE:STRING=config/intel.cmake")
+
+#############################################################################################
diff --git a/config/intel.cmake b/config/intel.cmake
index ee16a0f..5ef9282 100644
--- a/config/intel.cmake
+++ b/config/intel.cmake
@@ -1,8 +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)
-
-set(PRESET_PRINTF_LL "ll")
+
+# the following is used if cross-compiling
+set(PRESET_PRINTF_LL "l")