-
Notifications
You must be signed in to change notification settings - Fork 0
/
spack.yaml
63 lines (63 loc) · 2.4 KB
/
spack.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
spack:
specs:
packages:
morpho-kit:
require: "@0.3.4:"
mpfr:
require: "@4.1.0:"
all:
require: "%BASE_ARCH%"
providers:
mpi: [mpich]
concretizer:
unify: true
reuse: false
targets:
granularity: generic
config:
install_tree:
root: /opt/we-will-build/the-packages/in-the-cache-builder/with-a-very-long-path/to-avoid-problems/in-the-future
build_jobs: 4
view: false
mirrors:
bbpS3_upload: SPACK_BUILD_CACHE_BUCKET
ci:
target: gitlab
pipeline-gen:
- build-job:
before_script:
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@bbpgitlab.epfl.ch/".insteadOf
ssh://git@bbpgitlab.epfl.ch/
- 'git config --add --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@bbpgitlab.epfl.ch/".insteadOf
git@bbpgitlab.epfl.ch:'
- . $SPACK_ROOT/share/spack/setup-env.sh
- spack gpg trust "$SPACK_DEPLOYMENT_KEY_PUBLIC"
- spack gpg trust "$SPACK_DEPLOYMENT_KEY_PRIVATE"
script:
- pushd ${SPACK_CONCRETE_ENV_DIR} && spack env activate --without-view . &&
popd
- spack -d ci rebuild
- reindex-job:
image:
name: bbpgitlab.epfl.ch:5050/hpc/spacktainers/builder:2024.02.14-bsd-426-architectures
pull_policy: always
before_script:
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@bbpgitlab.epfl.ch/".insteadOf
ssh://git@bbpgitlab.epfl.ch/
- 'git config --add --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@bbpgitlab.epfl.ch/".insteadOf
git@bbpgitlab.epfl.ch:'
- . $SPACK_ROOT/share/spack/setup-env.sh
- spack gpg trust "$SPACK_DEPLOYMENT_KEY_PUBLIC"
- spack gpg trust "$SPACK_DEPLOYMENT_KEY_PRIVATE"
- cleanup-job:
image:
name: bbpgitlab.epfl.ch:5050/hpc/spacktainers/builder:2024.02.14-bsd-426-architectures
pull_policy: always
before_script:
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@bbpgitlab.epfl.ch/".insteadOf
ssh://git@bbpgitlab.epfl.ch/
- 'git config --add --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@bbpgitlab.epfl.ch/".insteadOf
git@bbpgitlab.epfl.ch:'
- . $SPACK_ROOT/share/spack/setup-env.sh
- spack gpg trust "$SPACK_DEPLOYMENT_KEY_PUBLIC"
- spack gpg trust "$SPACK_DEPLOYMENT_KEY_PRIVATE"