Skip to content

FNALssi/spack-installdir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spack-installdir

a Spack extension to install a directory full of files as a spack pagckage.

This includes:

  • adding a recipe for the package if needed
  • instaling the package

Usage

In most cases you can just do:

spack installdir package@version

to add the current directory tree as a version of the package.

You can also specify options:

  • --directory /path/to/directory specify a directory other then the current directory
  • --namespace name specify the namespace to create the recipe in (it defaults to "local")

After running spack installdir, you can edit the recipe with spack edit and add a "setup_run_environment()" method if you need the package to set environment variables, etc.

Installation

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

About

Spack extension to install a directory of files as a spack package.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages