38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
# This is a Spack Environment file fot he main HLRS software stack
|
|
spack:
|
|
definitions:
|
|
- core_compiler: [gcc@7.5]
|
|
- compilers: [gcc@13.2, cce@18.0]
|
|
- mpis: [cray-mpich@8.1.30]
|
|
- cflags_noerror_implicit: ['cflags="-Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -Wno-error=incompatible-pointer-types"']
|
|
packages:
|
|
all:
|
|
prefer: ['%gcc@7.5']
|
|
# add package specs to the `specs` list
|
|
specs:
|
|
- matrix: # modules for low-level tools
|
|
- [libunwind, papi]
|
|
- [$%core_compiler]
|
|
- matrix:
|
|
- [mpip, extrae]
|
|
- [$cflags_noerror_implicit] # code is not fully C99
|
|
- [$^mpis]
|
|
- [$%compilers]
|
|
- matrix:
|
|
- [scorep]
|
|
- [~cuda~hip, ~cuda+hip]
|
|
- [$^mpis]
|
|
- [$%compilers]
|
|
exclude: # hip support requires llvm-like compiler
|
|
- scorep%gcc +hip
|
|
- scorep%cce ~hip
|
|
- matrix:
|
|
- [scalasca]
|
|
- [$^mpis]
|
|
- [$%compilers]
|
|
- matrix: # build tools
|
|
- [meson, ninja]
|
|
- [$%core_compiler]
|
|
view: false
|
|
concretizer:
|
|
unify: when_possible
|