Skip to content
Snippets Groups Projects

Add gurobi 11

Merged Daniel Filipe Jana requested to merge packages/gurobi into main
Files
7
+ 9
9
@@ -58,10 +58,6 @@ cp ${STACK_CONFIG_PATH}/spack.yaml ${SPACK_SYSTEM_CONFIG_PATH}
@@ -58,10 +58,6 @@ cp ${STACK_CONFIG_PATH}/spack.yaml ${SPACK_SYSTEM_CONFIG_PATH}
replace_placholders ${SPACK_SYSTEM_CONFIG_PATH}/spack.yaml
replace_placholders ${SPACK_SYSTEM_CONFIG_PATH}/spack.yaml
cp -r "${STACK_CONFIG_PATH}/templates" ${SPACK_SYSTEM_CONFIG_PATH}
for file in mirrors packages concretizer config definitions modules
for file in mirrors packages concretizer config definitions modules
do
do
for suffix in ${!file_mapping[@]}
for suffix in ${!file_mapping[@]}
@@ -78,12 +74,16 @@ do
@@ -78,12 +74,16 @@ do
done
done
done
done
 
if [ -d "${STACK_CONFIG_PATH}/templates" ]
 
then
 
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/*" ${STACK_LOCATION}/spack/etc/spack
 
fi
cat <<EOF > ${SPACK_SYSTEM_CONFIG_PATH}/config_stack.yaml
config:
template_dirs:
- ${SPACK_SYSTEM_CONFIG_PATH}/templates
EOF
cat <<EOF > ${SPACK_SYSTEM_CONFIG_PATH}/modules_stack.yaml
cat <<EOF > ${SPACK_SYSTEM_CONFIG_PATH}/modules_stack.yaml
modules:
modules:
Loading