Skip to content
Snippets Groups Projects
Commit e03ce2fd authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Simplifing by using default path

parent a01a2ac6
No related branches found
No related tags found
1 merge request!15Add gurobi 11
......@@ -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} ]
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
......
......@@ -14,8 +14,6 @@ spack:
- definitions_accel.yaml
- definitions_env.yaml
- config_stack.yaml
modules:
default:
lmod:
......
......@@ -14,8 +14,6 @@ spack:
- definitions_env.yaml
- definitions_stack.yaml
- config_stack.yaml
modules:
default:
lmod:
......
......@@ -14,8 +14,6 @@ spack:
- definitions_env.yaml
- definitions_stack.yaml
- config_stack.yaml
modules:
default:
lmod:
......
......@@ -14,8 +14,6 @@ spack:
- definitions_env.yaml
- definitions_stack.yaml
- config_stack.yaml
modules:
default:
lmod:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment