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

Still wrong path

parent 63c78307
No related branches found
No related tags found
No related merge requests found
Pipeline #194764 canceled
......@@ -41,10 +41,10 @@ variables:
extends:
- .parallel_definition
variables:
COMMAND_OPTIONS_SBATCH: ${slurm_options}
MOUNT_POINT: /stack
APPTAINER_EXEC_OPTIONS: ${apptainer_options} --cleanenv --no-home --bind ${BUILDCACHE}:/buildcache:rw --bind ${CI_PROJECT_DIR}:${MOUNT_POINT}
BUILDCACHE: "/work/scitas-ge/richart/ci/buildcache"
COMMAND_OPTIONS_SBATCH: ${slurm_options}
APPTAINER_EXEC_OPTIONS: ${apptainer_options} --cleanenv --no-home --bind ${BUILDCACHE}:/buildcache:rw --bind ${CI_PROJECT_DIR}:${MOUNT_POINT}
.spack_cache:
cache:
......@@ -82,9 +82,8 @@ spack:install_compilers:
- .spack_cache
script:
- ci/install_compilers.sh
- source stack_env.sh
- cd ${STACK_LOCATION}
- spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} config blame compilers
- source ci/stack_env.sh
- ${STACK_LOCATION}/spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} config blame compilers
after_script:
- if [ ! -e spack-install.xml ]; then
echo "{}" > spack-install.xml
......@@ -102,10 +101,9 @@ spack:concretize:
- .parallel_job
- .spack_cache
script:
- source stack_env.sh
- cd ${STACK_LOCATION}
- spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} config blame
- spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} concretize
- source ci/stack_env.sh
- ${STACK_LOCATION}/spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} config blame
- ${STACK_LOCATION}/spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} concretize
needs:
- job: spack:install_compilers
artifacts:
......@@ -120,14 +118,13 @@ spack:install:
- .spack_cache
script:
- source stack_env.sh
- cd ${STACK_LOCATION}
- spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} install
- ${STACK_LOCATION}/spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} install
--log-file spack-install.xml
--log-format junit
--only-concrete
--fail-fast
--show-log-on-error
- spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} buildcache create
- ${STACK_LOCATION}/spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} buildcache create
--update-index
--key EDC904DCE3D2E84E
/buildcache
......
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