Commit 3b75bd4d authored by gsell's avatar gsell
Browse files

scripts/HDF5_serial/build_all_variants: added

parent 8d8925c9
#!/bin/bash
declare -r basedir=$(dirname $0)
source '../../config/Pmodules.conf'
declare -r recipe="${basedir}/$1/build"
shift
if [[ ! -x "${recipe}" ]]; then
echo "Error: no recipe to build '$1'!"
exit 1
fi
for cc in "${COMPILER_VERSIONS[@]}"; do
for hdf in "${HDF5_SERIAL_VERSIONS[@]}"; do
"${recipe}" "$@" --with=$cc --with=$hdf || {
echo "Oops: build failed for:"
echo " compiler: $cc"
echo " HDF5 (serial): $hdf"
}
done
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment