Skip to content

Parse the ${NAMESPACE} format string in a spec's format method.#9686

Merged
tgamblin merged 1 commit intospack:developfrom
tjfulle:spec-ns
Nov 1, 2018
Merged

Parse the ${NAMESPACE} format string in a spec's format method.#9686
tgamblin merged 1 commit intospack:developfrom
tjfulle:spec-ns

Conversation

@tjfulle
Copy link
Copy Markdown
Contributor

@tjfulle tjfulle commented Oct 31, 2018

This allows installing software on a namespace basis by including
${NAMESPACE} in install_path_scheme. e.g.,

cat ~/.spack/config.yaml
config:
  install_path_scheme:
      "${ARCHITECTURE}/${NAMESPACE}/${COMPILERNAME}-${COMPILERVER}/${PACKAGE}-${VERSION}-${HASH}"

This allows installing software on a namespace basis by including
${NAMESPACE} in `install_path_scheme`. e.g.,

```
cat ~/.spack/config.yaml
config:
  install_path_scheme:
      "${ARCHITECTURE}/${NAMESPACE}/${COMPILERNAME}-${COMPILERVER}/${PACKAGE}-${VERSION}-${HASH}"
```
@tgamblin
Copy link
Copy Markdown
Member

tgamblin commented Nov 1, 2018

Thanks!

@tgamblin tgamblin merged commit fc25ba1 into spack:develop Nov 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants