Skip to content
Snippets Groups Projects

Add gurobi 11

Merged Daniel Filipe Jana requested to merge packages/gurobi into main
5 files
+ 2
16
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 2
8
@@ -74,20 +74,14 @@ do
@@ -74,20 +74,14 @@ do
done
done
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 cp -r "${STACK_CONFIG_PATH}/templates" ${SPACK_SYSTEM_CONFIG_PATH} ]
then
then
cp -r "${STACK_CONFIG_PATH}/templates" ${SPACK_SYSTEM_CONFIG_PATH}
cp -r "${STACK_CONFIG_PATH}/templates" ${STACK_LOCATION}/spack/share/spack
cat <<EOF >> ${SPACK_SYSTEM_CONFIG_PATH}/config_stack.yaml
template_dirs:
- ${SPACK_SYSTEM_CONFIG_PATH}/templates
EOF
fi
fi
if [ -d "${STACK_CONFIG_PATH}/licenses" ]
if [ -d "${STACK_CONFIG_PATH}/licenses" ]
then
then
cp -r "${STACK_CONFIG_PATH}/licenses" ${SPACK_SYSTEM_CONFIG_PATH}
cp -r "${STACK_CONFIG_PATH}/licenses/*" ${STACK_LOCATION}/spack/etc/spack
echo " license_dir: ${SPACK_SYSTEM_CONFIG_PATH}/licenses" >> ${SPACK_SYSTEM_CONFIG_PATH}/config_stack.yaml
fi
fi
Loading