Skip to content

Add esmf@8.9.0b05#532

Merged
climbfuji merged 3 commits intoJCSDA:spack-stack-devfrom
climbfuji:feature/esmf89
Apr 5, 2025
Merged

Add esmf@8.9.0b05#532
climbfuji merged 3 commits intoJCSDA:spack-stack-devfrom
climbfuji:feature/esmf89

Conversation

@climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Apr 4, 2025

Description

Add esmf@8.9.0b05 and install ESMF's findESMF.cmake starting from this version. The former is required for recent NEPTUNE development (ESMX integration), the latter to remove findESMF.cmake from CMakeModules and various other places in order to always use the authoritative findESMF.cmake. See also NOAA-EMC/CMakeModules#71

Testing

  • Built esmf@8.9.0b05 on my dev machine and verified that a simple CMakeLists.txt change is picking up the correct findESMF.cmake file:
list(APPEND CMAKE_MODULE_PATH $ENV{esmf_ROOT}/cmake)
find_package(ESMF 8.9.0 MODULE REQUIRED)

@climbfuji climbfuji changed the title Feature/esmf89 Add esmf@8.9.0b05 and install ESMF's findESMF.cmake starting from this version Apr 4, 2025
@climbfuji climbfuji self-assigned this Apr 4, 2025
@climbfuji climbfuji requested a review from theurich April 4, 2025 17:13
@climbfuji climbfuji marked this pull request as ready for review April 4, 2025 17:13
@climbfuji climbfuji added the NAVY United States Naval Research Lab label Apr 4, 2025
@climbfuji climbfuji moved this to In Progress in spack-stack-2.0.x (2025 Q4) Apr 4, 2025
python_builder = PythonPipBuilder(pkg)
python_builder.install(pkg, spec, prefix)

if spec.satisfies("@8.9:"):
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
if spec.satisfies("@8.9:"):
# Install findESMF.cmake
if spec.satisfies("@8.9:"):

Copy link
Collaborator

@theurich theurich left a comment

Choose a reason for hiding this comment

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

Have a question for my own understanding. Thanks.

@climbfuji climbfuji changed the title Add esmf@8.9.0b05 and install ESMF's findESMF.cmake starting from this version Add esmf@8.9.0b05 Apr 4, 2025
@climbfuji climbfuji merged commit 9432cbe into JCSDA:spack-stack-dev Apr 5, 2025
15 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in spack-stack-2.0.x (2025 Q4) Apr 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NAVY United States Naval Research Lab

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

2 participants