Skip to content

mfem, hpx: fix recipes after conditional variants#27215

Merged
alalazo merged 2 commits intospack:developfrom
alalazo:packages/hpx_fix
Nov 4, 2021
Merged

mfem, hpx: fix recipes after conditional variants#27215
alalazo merged 2 commits intospack:developfrom
alalazo:packages/hpx_fix

Conversation

@alalazo
Copy link
Copy Markdown
Member

@alalazo alalazo commented Nov 4, 2021

fixes #27213

The variants attribute of package objects was changed to allow for conditional variants. While a better API can be thought of (as correctly noted in #27185 (comment)), the recipes reading it directly are just a handful so here I'm fixing them without introducing core changes.

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented Nov 4, 2021

@teonnik can you review this PR?

This PR modifies the following package(s), for which you are listed as a maintainer:

  • hpx
  • mfem

Copy link
Copy Markdown
Contributor

@eugeneswalker eugeneswalker left a comment

Choose a reason for hiding this comment

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

Thank you! (This resolved all the issues I was seeing)

Copy link
Copy Markdown
Contributor

@albestro albestro left a comment

Choose a reason for hiding this comment

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

LGTM

@teonnik teonnik self-requested a review November 4, 2021 09:22
@alalazo alalazo enabled auto-merge (squash) November 4, 2021 09:43
@alalazo alalazo merged commit 1dcabdb into spack:develop Nov 4, 2021
@alalazo alalazo deleted the packages/hpx_fix branch November 4, 2021 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hpx package.py: self.variants['instrumentation'].values: 'tuple' object has no attribute 'values'

4 participants