Skip to content

Spack extension to generate packages.yaml fragments to "freeze" a package.

License

Notifications You must be signed in to change notification settings

FNALssi/spack-freeze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

Spack-freeze

a Spack extension to generate a packages.yaml fragment listing a package and its dependencies as non-buildable externals.

Usage

In most cases you can just do:

spack freeze pkg@ver1 > freeze_pkg.yaml

You can then include freeze_package.yaml in an envrionment spack.yaml file to use that package as a dependency.

spack:
  include:
  - freeze_pkg.yaml
  specs: [pkg2@ver2 ^pkg@ver1]

Installation

After cloning the repository somewhere, See the Spack docs on adding the path to config.yaml under 'extensions:'

About

Spack extension to generate packages.yaml fragments to "freeze" a package.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages