Skip to content
Snippets Groups Projects

Add gurobi 11

Merged Daniel Filipe Jana requested to merge packages/gurobi into main
Files
5
+ 3
9
@@ -74,20 +74,14 @@ do
done
done
echo "config:" > ${SPACK_SYSTEM_CONFIG_PATH}/config_stack.yaml
if [ -d cp -r "${STACK_CONFIG_PATH}/templates" ${SPACK_SYSTEM_CONFIG_PATH} ]
if [ -d "${STACK_CONFIG_PATH}/templates" ]
then
cp -r "${STACK_CONFIG_PATH}/templates" ${SPACK_SYSTEM_CONFIG_PATH}
cat <<EOF >> ${SPACK_SYSTEM_CONFIG_PATH}/config_stack.yaml
template_dirs:
- ${SPACK_SYSTEM_CONFIG_PATH}/templates
EOF
cp -r "${STACK_CONFIG_PATH}/templates" ${STACK_LOCATION}/spack/share/spack
fi
if [ -d "${STACK_CONFIG_PATH}/licenses" ]
then
cp -r "${STACK_CONFIG_PATH}/licenses" ${SPACK_SYSTEM_CONFIG_PATH}
echo " license_dir: ${SPACK_SYSTEM_CONFIG_PATH}/licenses" >> ${SPACK_SYSTEM_CONFIG_PATH}/config_stack.yaml
cp -r "${STACK_CONFIG_PATH}/licenses" ${STACK_LOCATION}/spack/etc/spack
fi
Loading