summaryrefslogtreecommitdiff
path: root/etc/spack/defaults/bootstrap.yaml
blob: 8c1592055e513e8cb3aef74c6c47de62924be286 (plain) (blame)
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
bootstrap:
  # If set to false Spack will not bootstrap missing software,
  # but will instead raise an error.
  enable: true
  # Root directory for bootstrapping work. The software bootstrapped
  # by Spack is installed in a "store" subfolder of this root directory
  root: $user_cache_path/bootstrap
  # Methods that can be used to bootstrap software. Each method may or
  # may not be able to bootstrap all of the software that Spack needs,
  # depending on its type.
  sources:
  - name: 'github-actions-v0.2'
    type: buildcache
    description: |
      Buildcache generated from a public workflow using Github Actions.
      The sha256 checksum of binaries is checked before installation.
    info:
      url: https://mirror.spack.io/bootstrap/github-actions/v0.2
      homepage: https://github.com/spack/spack-bootstrap-mirrors
      releases: https://github.com/spack/spack-bootstrap-mirrors/releases
  - name: 'github-actions-v0.1'
    type: buildcache
    description: |
      Buildcache generated from a public workflow using Github Actions.
      The sha256 checksum of binaries is checked before installation.
    info:
      url: https://mirror.spack.io/bootstrap/github-actions/v0.1
      homepage: https://github.com/spack/spack-bootstrap-mirrors
      releases: https://github.com/spack/spack-bootstrap-mirrors/releases
  # This method is just Spack bootstrapping the software it needs from sources.
  # It has been added here so that users can selectively disable bootstrapping
  # from sources by "untrusting" it.
  - name: spack-install
    type: install
    description: |
      Specs built from sources by Spack. May take a long time.
  trusted:
    # By default we trust bootstrapping from sources and from binaries
    # produced on Github via the workflow
    github-actions-v0.2: true
    spack-install: true