Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

deployment: consolidate environments and module config#1239

Merged
matz-e merged 6 commits intodevelopfrom
move-configs-into-environments
Sep 7, 2021
Merged

deployment: consolidate environments and module config#1239
matz-e merged 6 commits intodevelopfrom
move-configs-into-environments

Conversation

@matz-e
Copy link
Copy Markdown
Member

@matz-e matz-e commented Jul 28, 2021

Moves the part of the module configuration that is specific to the
environment into the environment definition:

  • simplifies our setup
  • now there is one global module config (blacklisting everything)
  • whitelists are in the same file as specs to build

Otherwise, there are very few changes:

  • adjustment of the ruby script that does the user-facing whitelist
  • compilers.yaml with RH compilers is in ~/.spack/linux to exclude those from the regular compilers

@matz-e matz-e requested review from jorblancoa, mgeplf and pramodk July 28, 2021 15:32
matz-e added a commit that referenced this pull request Jul 30, 2021
matz-e added a commit that referenced this pull request Jul 30, 2021
@matz-e matz-e force-pushed the move-configs-into-environments branch from dfbbf0c to f6fd463 Compare July 30, 2021 10:41
@matz-e
Copy link
Copy Markdown
Member Author

matz-e commented Jul 30, 2021

Retest this please

@matz-e matz-e force-pushed the move-configs-into-environments branch from f6fd463 to 9ce6147 Compare July 30, 2021 12:50
@matz-e
Copy link
Copy Markdown
Member Author

matz-e commented Jul 30, 2021

Retest this please

Another purge of the installation directory

1 similar comment
@matz-e
Copy link
Copy Markdown
Member Author

matz-e commented Aug 2, 2021

Retest this please

Another purge of the installation directory

@matz-e matz-e requested a review from alexsavulescu August 2, 2021 08:38
@matz-e matz-e enabled auto-merge (squash) August 2, 2021 09:18
Moves the part of the module configuration that is specific to the
environment into the environment definition:

* simplifies our setup
* now there is one global module config (blacklisting everything)
* whitelists are in the same file as specs to build
@matz-e matz-e force-pushed the move-configs-into-environments branch from 918071d to ddde8dd Compare September 6, 2021 14:36
@matz-e
Copy link
Copy Markdown
Member Author

matz-e commented Sep 6, 2021

@pramodk would be nice to get this in… would simplify refactoring quite a bit!

Copy link
Copy Markdown

@pramodk pramodk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing specific that I can notice as problematic, LGTM!

target: x86_64
environment: {}
extra_rpaths: []
modules: []
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this new one / needed ? (spack compiler find should generate this, right?)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes… but I also wanted to have this as a central configuration to build on.

@matz-e matz-e merged commit d0ba026 into develop Sep 7, 2021
@matz-e matz-e deleted the move-configs-into-environments branch September 7, 2021 09:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants