1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-07-04 13:47:06 +01:00

CI scripts update

This commit is contained in:
2024-02-10 18:39:22 +01:00
parent 7d55fc30b5
commit ccdc54243e
6 changed files with 92 additions and 91 deletions

View File

@ -1,16 +1,16 @@
#!/usr/bin/env bash
if (( $# != 2 )); then
echo "usage: `basename $0` <prefix> <ntasks>" 1>&2
if (($# != 2)); then
echo "usage: $(basename "$0") <prefix> <ntasks>" 1>&2
exit 1
fi
PREFIX=$1
NTASKS=$2
prefix=$1
ntasks=$2
set -ex
mkdir -p local/build
for d in gsl nlopt minuit hdf5; do
if [ ! -e local/.built.${d} ]; then
./install-${d}.sh ${PREFIX} ${NTASKS}
./install-${d}.sh "${prefix}" "${ntasks}"
fi
done