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: ...@@ -41,10 +41,10 @@ variables:
extends: extends:
- .parallel_definition - .parallel_definition
variables: variables:
COMMAND_OPTIONS_SBATCH: ${slurm_options}
MOUNT_POINT: /stack 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" 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: .spack_cache:
cache: cache:
...@@ -82,9 +82,8 @@ spack:install_compilers: ...@@ -82,9 +82,8 @@ spack:install_compilers:
- .spack_cache - .spack_cache
script: script:
- ci/install_compilers.sh - ci/install_compilers.sh
- source stack_env.sh - source ci/stack_env.sh
- cd ${STACK_LOCATION} - ${STACK_LOCATION}/spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} config blame compilers
- spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} config blame compilers
after_script: after_script:
- if [ ! -e spack-install.xml ]; then - if [ ! -e spack-install.xml ]; then
echo "{}" > spack-install.xml echo "{}" > spack-install.xml
...@@ -102,10 +101,9 @@ spack:concretize: ...@@ -102,10 +101,9 @@ spack:concretize:
- .parallel_job - .parallel_job
- .spack_cache - .spack_cache
script: script:
- source stack_env.sh - source ci/stack_env.sh
- cd ${STACK_LOCATION} - ${STACK_LOCATION}/spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} config blame
- spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} config blame - ${STACK_LOCATION}/spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} concretize
- spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} concretize
needs: needs:
- job: spack:install_compilers - job: spack:install_compilers
artifacts: artifacts:
...@@ -120,14 +118,13 @@ spack:install: ...@@ -120,14 +118,13 @@ spack:install:
- .spack_cache - .spack_cache
script: script:
- source stack_env.sh - source stack_env.sh
- cd ${STACK_LOCATION} - ${STACK_LOCATION}/spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} install
- spack/bin/spack -e ${SPACK_SYSTEM_CONFIG_PATH} install
--log-file spack-install.xml --log-file spack-install.xml
--log-format junit --log-format junit
--only-concrete --only-concrete
--fail-fast --fail-fast
--show-log-on-error --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 --update-index
--key EDC904DCE3D2E84E --key EDC904DCE3D2E84E
/buildcache /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