Spack packages.yaml
Spack package manager packages.yaml config file
| Type | object |
|---|---|
| File match |
**/*spack/**/packages.yaml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/spack-packages-yaml/latest.json |
| Source | https://raw.githubusercontent.com/spack/schemas/refs/heads/main/schemas/packages.json |
Validate with Lintel
npx @lintel/lintel check
Properties
Package-specific build settings and external package configurations
{}
1 nested properties
Default settings that apply to all packages (can be overridden by package-specific settings)
{}
10 nested properties
Package requirements that must be satisfied during concretization
Strong package preferences that influence concretization without imposing hard constraints
Package conflicts that prevent certain spec combinations
Ordered list of soft preferences for target architectures for all packages (ignored if the concretizer can reuse existing installations)
[]
Soft preferences for compiler specs for all packages (deprecated)
[]
Whether packages should be built from source (false prevents building)
File permissions settings for package installations
3 nested properties
Who can read the files installed by a package
Who can write to the files installed by a package
The group that owns the files installed by a package
Class-level attributes to assign to package instances (accessible in package.py methods)
Soft preferences for providers of virtual packages (ignored if the concretizer can reuse existing installations)
{}
Soft variant preferences as a single spec string or list of variant specifications (ignored if the concretizer can reuse existing installations)