summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2019-01-31 20:22:52 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2019-01-31 20:22:52 (GMT)
commitbae744199b69eb7c3f5eda2441cca30cb8c6175f (patch)
tree564d199dd08ba149cd34f7b0cbae6514a19dfc59 /src
parent252beb50b69d68ef087f00aded1994a3d9b235f0 (diff)
downloadhdf5-bae744199b69eb7c3f5eda2441cca30cb8c6175f.zip
hdf5-bae744199b69eb7c3f5eda2441cca30cb8c6175f.tar.gz
hdf5-bae744199b69eb7c3f5eda2441cca30cb8c6175f.tar.bz2
Add more specific batch scripts.
Add script raybsub to handle submitting .lsf files on ray with bsub < script.lsf syntax that we couldn't handle with CMake. Add hpc-cmake-tgz option for bin/release.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ff7402b..6b105a9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -944,6 +944,12 @@ if (BUILD_SHARED_LIBS)
endif ()
if (LOCAL_BATCH_TEST)
+ if ("${LOCAL_BATCH_SCRIPT_COMMAND}" STREQUAL "raybsub")
+ configure_file (
+ ${HDF5_SOURCE_DIR}/bin/batch/${LOCAL_BATCH_SCRIPT_COMMAND}
+ ${HDF5_BINARY_DIR}/${LOCAL_BATCH_SCRIPT_COMMAND} ESCAPE_QUOTES @ONLY
+ )
+ endif ()
if (LOCAL_BATCH_SCRIPT_NAME)
configure_file (
${HDF5_SOURCE_DIR}/bin/batch/${LOCAL_BATCH_SCRIPT_NAME}.in.cmake