forked from sandialabs/spack-manager
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from sandialabs/develop
Develop
- Loading branch information
Showing
26 changed files
with
802 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ stage | |
.bootstrap | ||
.jython_cache | ||
# file types | ||
spack-manager.yaml | ||
Makefile | ||
__pycache__ | ||
*.lock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Spack-Manager Structure | ||
|
||
Spack-Manager is a Spack extension that provides a way for software applications | ||
to configure their usage of spack. | ||
The code of Spack-Manager is independent of each individual application and each | ||
application code needs to configure a Spack-Manager `Project` to tell Spack-Manager how to work | ||
with their application. | ||
|
||
A `Project` at its core is simply a collection of [spack configuration files](https://spack.readthedocs.io/en/latest/configuration.html), | ||
and [spack package repositories](https://spack.readthedocs.io/en/latest/repositories.html). | ||
A few other optional hooks will be discussed below. | ||
|
||
The configuration files in a `Project` are organized based on the configuration bifurcations that the projects supports. | ||
These are called `Machines` based on the guiding principle that spack configurations typically have to be | ||
changed when the machine/system is changed. | ||
|
||
`Projects` can be registered with Spack-Manager by adding them to the `spack-manager.yaml` configuration file. | ||
This file lives in the Spack-Manager directory and controls settings for `Spack-Manager` and the `Projects` that | ||
are registered. | ||
|
||
``` yaml | ||
spack-manager: | ||
projects: | ||
- /path/to/project_a | ||
default_view: False | ||
- $HOME/project_b | ||
``` | ||
Additional data about this file can be found at *TBD*. | ||
Information on configuring a new `Project` can be found in the system administrator profile documentation (add link). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.