Skip to content

Conversation

@mathomp4
Copy link
Contributor

In trying to run some unit tests that use udunits2 in MAPL with spack, I found that spack load udunits doesn't set UDUNITS2_XML_PATH (see JCSDA/spack-stack#1842).

Spack installs it at prefix/share/udunits/udunits2.xml and this PR seems to set it for me.

@climbfuji climbfuji requested a review from tldahlgren December 11, 2025 14:42
climbfuji pushed a commit to JCSDA/spack-stack that referenced this pull request Dec 11, 2025
This is the "simple" solution to #1842. The ideal way will be to do so via spack-packages, but since spack-stack 2.0 is out soon, this is the "easy" way.

We can undo this once/if spack/spack-packages#2729 is merged and then get into 2.1
@tldahlgren
Copy link
Contributor

@AlexanderRichert-NOAA Any objections to this PR being merged?

@tldahlgren tldahlgren self-assigned this Dec 11, 2025
@AlexanderRichert-NOAA
Copy link
Contributor

Nope, ledder rip

@tldahlgren tldahlgren merged commit fb738d6 into spack:develop Dec 11, 2025
17 checks passed
@climbfuji
Copy link
Contributor

Thanks @tldahlgren !

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.

4 participants