Skip to content

Spec to string: show %compiler at the end#49439

Merged
haampie merged 3 commits intodevelopfrom
hs/fix/default-spec-str-reorder-compiler
Mar 12, 2025
Merged

Spec to string: show %compiler at the end#49439
haampie merged 3 commits intodevelopfrom
hs/fix/default-spec-str-reorder-compiler

Conversation

@haampie
Copy link
Copy Markdown
Member

@haampie haampie commented Mar 12, 2025

Context: #44379

We used to format specs as pkg%[email protected] +foo+bar ^dep +baz.

This PR changes it to pkg +foo+bar %[email protected] ^dep +baz.

@spackbot-app spackbot-app bot requested review from MakisH and kjrstory March 12, 2025 09:39
@spackbot-app spackbot-app bot added commands core PR affects Spack core functionality tests General test capability(ies) update-package labels Mar 12, 2025
Copy link
Copy Markdown
Contributor

@MakisH MakisH left a comment

Choose a reason for hiding this comment

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

I have been tagged in this as maintainer of of-precice. The changes there look fine. Thanks!

@haampie haampie force-pushed the hs/fix/default-spec-str-reorder-compiler branch from 4e792f1 to 7238f0b Compare March 12, 2025 12:01
Copy link
Copy Markdown
Member

@alalazo alalazo left a comment

Choose a reason for hiding this comment

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

LGTM. I'll double check if there's any other reference to %compiler etc.

@alalazo alalazo self-assigned this Mar 12, 2025
Copy link
Copy Markdown
Member

@alalazo alalazo left a comment

Choose a reason for hiding this comment

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

I think I found two other places that might need to be updated, for consistency:

mvapich2 @g{%gcc} @B{fabrics=psm,mrail,sock}

"{name}{@version}{%compiler}{variants}{arch=architecture}"

@haampie haampie force-pushed the hs/fix/default-spec-str-reorder-compiler branch from 0037f84 to 6147368 Compare March 12, 2025 15:26
@haampie haampie merged commit a45d09a into develop Mar 12, 2025
37 checks passed
@haampie haampie deleted the hs/fix/default-spec-str-reorder-compiler branch March 12, 2025 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commands core PR affects Spack core functionality environments tests General test capability(ies) update-package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants