File indexing completed on 2025-01-18 09:15:27
0001
0002
0003 dir=`dirname ${0}`/..
0004 dir=`realpath ${dir}`
0005 if [ -z "`spack repo list | grep ${dir}`" ] ; then
0006 echo "Directory ${dir} is not listed as spack repo:"
0007 spack repo list
0008 echo "Assuming repository at ${dir} is part of spack."
0009 fi
0010
0011 for package in ${dir}/packages/*/package.py ; do
0012 package=`dirname ${package}`
0013 package=`basename ${package}`
0014 echo "Installing ${package}..."
0015 spack install ${package} $@
0016 done