Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module : token expansion in environment #1361

Conversation

alalazo
Copy link
Member

@alalazo alalazo commented Jul 25, 2016

Modifications:
Examples

A modules.yaml like :

enable:
  - tcl
tcl: 
  all:
    environment:
    set: 
      '{name}_ROOT': '{prefix}'

will produce a module file with e.g. an HDF5_ROOT variable set to the prefix of any hdf5 installation done.

@trws In the end I maintained separator, as using delim would have required changing a lot of packages.

@alalazo
Copy link
Member Author

alalazo commented Jul 25, 2016

@mwilliammyers @tgamblin I think this should solve #1109

@alalazo
Copy link
Member Author

alalazo commented Jul 25, 2016

@tgamblin The error seems a false negative... don't know what is going on with Travis today...

@alalazo alalazo closed this Jul 26, 2016
@alalazo alalazo reopened this Jul 26, 2016
@mwilliammyers
Copy link
Contributor

@alalazo Thank you! I meant to do a PR for #1109 but got very busy.

@alalazo alalazo closed this Jul 31, 2016
@alalazo alalazo reopened this Jul 31, 2016
@becker33 becker33 merged commit 7ae163d into spack:develop Aug 3, 2016
@alalazo alalazo deleted the features/module_token_expansion_in_environment branch August 4, 2016 05:13
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.

[proposal]: Add custom paths/settings to environment modules
3 participants