Skip to content

mapl: add placement's for resources#2431

Merged
sethrj merged 1 commit intospack:developfrom
AlexanderRichert-NOAA:patch-30
Nov 15, 2025
Merged

mapl: add placement's for resources#2431
sethrj merged 1 commit intospack:developfrom
AlexanderRichert-NOAA:patch-30

Conversation

@AlexanderRichert-NOAA
Copy link
Copy Markdown
Contributor

This PR adds placement arguments for the resources in mapl. This seems to be the only way to consistently have the path of the resource be correctly set, especially when using cached source code.

Copy link
Copy Markdown
Contributor

@mathomp4 mathomp4 left a comment

Choose a reason for hiding this comment

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

Interesting. I wonder why it was never needed until now? I mean, seems benign.

@AlexanderRichert-NOAA
Copy link
Copy Markdown
Contributor Author

It relates to an issue with installing from source caching that I've never been totally consistently able to reproduce, so it's a bit of an edge case (most people most of the time install from internet-connected systems). In any case this seems to work solidly both with and without pre-cached resources.

@sethrj sethrj merged commit 61e88ae into spack:develop Nov 15, 2025
17 checks passed
AlexanderRichert-NOAA added a commit to AlexanderRichert-NOAA/spack-packages that referenced this pull request Nov 19, 2025
mkrack pushed a commit to mkrack/spack-packages that referenced this pull request Dec 23, 2025
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.

3 participants