summaryrefslogtreecommitdiffstats
path: root/config/toolchain
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-10-22 21:33:43 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-10-22 21:33:43 (GMT)
commit47f30b474bdc498c20bd6d2a0ba7e8947ab389f0 (patch)
treef486957d11a73caa677bd335258f1abb110c2927 /config/toolchain
parent8a12b57483854929dd9ccbcf107dd1051c6c3a12 (diff)
parent096279caf76a542306b840fb90e1e753e8bbf748 (diff)
downloadhdf5-47f30b474bdc498c20bd6d2a0ba7e8947ab389f0.zip
hdf5-47f30b474bdc498c20bd6d2a0ba7e8947ab389f0.tar.gz
hdf5-47f30b474bdc498c20bd6d2a0ba7e8947ab389f0.tar.bz2
Merge pull request #1301 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:develop to develop
* commit '096279caf76a542306b840fb90e1e753e8bbf748': HDFFV-10608 Move toolchain files into a subfolder TRILAB-36 add option for test script batch command
Diffstat (limited to 'config/toolchain')
-rw-r--r--config/toolchain/GCC.cmake10
-rw-r--r--config/toolchain/intel.cmake10
2 files changed, 20 insertions, 0 deletions
diff --git a/config/toolchain/GCC.cmake b/config/toolchain/GCC.cmake
new file mode 100644
index 0000000..ddb1641
--- /dev/null
+++ b/config/toolchain/GCC.cmake
@@ -0,0 +1,10 @@
+# Uncomment the following to use cross-compiling
+#set(CMAKE_SYSTEM_NAME Linux)
+set(CMAKE_COMPILER_VENDOR "GCC")
+
+set(CMAKE_C_COMPILER cc)
+set(CMAKE_CXX_COMPILER c++)
+set(CMAKE_Fortran_COMPILER gfortran)
+
+# the following is used if cross-compiling
+set(CMAKE_CROSSCOMPILING_EMULATOR "")
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 "")