-
Notifications
You must be signed in to change notification settings - Fork 2
/
spack.general_build.yaml
58 lines (52 loc) · 2.44 KB
/
spack.general_build.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
# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
# outline of a general build all needed on our system - only token packages included so far
# other spack environments could have slected spack specs e.g. for generating modules of one directory on MODULEPATH
# those would use the object codes built here and so would not cause extra building
# another use for an environment is a bundle (in the sense of our modules) - see loads mechanism of spack, also there is a bundle system for a spack build system - what is that
spack:
# these definitions could be shared, either by importing if spack has a mechanism or by scripts wrtitten by us to include them in our spack.yaml files.
definitions:
# which compliers would we actually want
- compilers: [[email protected], [email protected], [email protected]] # spack info does not note a runtime dependency on gcc libs!
# library version sets - may include here spack 'variants' i.e. options within the build
- apr_vers: [[email protected], [email protected]]
- fftw_vers: [[email protected]]
- libs: [$apr_vers, $fftw_vers]
# application version sets - may include here spack 'variants' i.e. options within the build
- abinit_vers: [[email protected]] # ver 9.6.2 not known to spack
- adf_vers: [[email protected]] # ver 2014.10 not known to spack
- apps: [$abinit_vers, $adf_vers]
# python versions - may include here spack 'variants' i.e. options within the build
- python_vers: [[email protected], [email protected], [email protected], [email protected], [email protected],
- python_compilers: [[email protected]]
# do we want specified versions of python packages in next line?
- python_bundle_items: [py-numpy, py-matplotlib]
specs:
- $compilers
- $build_tools
# build libs with all the compilers
- matrix:
- [$libs]
- [$%compilers]
# build apps will all the compilers
- matrix:
- [$apps]
- [$%compilers]
# build all the python versions with just one compiler
- matrix:
- [$python_vers]
- [$%python_compilers]
# build all the python packages for each python version - is that needed? expected by users?
- matrix:
- [$python_bundle_items]
- [$^python_vers]
- [$%python_compilers]
view: true
concretizer:
unify: false