summaryrefslogtreecommitdiffstats
path: root/config/cmake/scripts
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-02-13 14:24:27 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-02-13 14:24:27 (GMT)
commit3ed1ac0f1b760fe84ec009de19550d98f0b38071 (patch)
treee85d265553f0b5079005ed13fc5087256d7a94c2 /config/cmake/scripts
parent8c22f4180195b63b77c5b27a704b8158a422b793 (diff)
downloadhdf5-3ed1ac0f1b760fe84ec009de19550d98f0b38071.zip
hdf5-3ed1ac0f1b760fe84ec009de19550d98f0b38071.tar.gz
hdf5-3ed1ac0f1b760fe84ec009de19550d98f0b38071.tar.bz2
Add missing toolchain include for cross-compile
Diffstat (limited to 'config/cmake/scripts')
-rw-r--r--config/cmake/scripts/HPC/sbatch-HDF5options.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/cmake/scripts/HPC/sbatch-HDF5options.cmake b/config/cmake/scripts/HPC/sbatch-HDF5options.cmake
index dc97b3a..f70526e 100644
--- a/config/cmake/scripts/HPC/sbatch-HDF5options.cmake
+++ b/config/cmake/scripts/HPC/sbatch-HDF5options.cmake
@@ -34,6 +34,7 @@ if (DEFINED KNL)
set (COMPUTENODE_HWCOMPILE_MODULE "craype-mic-knl")
set (LOCAL_BATCH_SCRIPT_NAME "knl_ctestS.sl")
set (LOCAL_BATCH_SCRIPT_PARALLEL_NAME "knl_ctestP.sl")
+ set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_TOOLCHAIN_FILE:STRING=config/toolchain/crayle.cmake")
else ()
set (LOCAL_BATCH_SCRIPT_NAME "ctestS.sl")
set (LOCAL_BATCH_SCRIPT_PARALLEL_NAME "ctestP.sl")