Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to ufs-bundle CMakeLists.txt to use same RPATH and ecbundle_initialize commands that jedi-bundle uses #71

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

BenjaminTJohnson
Copy link

Description

Per issue: #49

I blindly copied over jedi-bundle CMakeLists.txt front material regarding RPATH, replacing ufs-bundle cmake prefix material.
This adds RPATH information used in jedi-bundle, which appears to fix the CRTM not being found problem. This was only tested on S4.

Issue(s) addressed

Resolves #49

Checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have run the unit tests before creating the PR

…ng RPATH, replacing ufs-bundle cmake prefix material.
@climbfuji
Copy link
Collaborator

CI failed in S2S build, but the error doesn't seem to be related to this PR?

https://github.com/JCSDA/ufs-bundle/actions/runs/10151281420/job/28070209562?pr=71

CMakeLists.txt Outdated
if(APPLE)
list( APPEND CMAKE_INSTALL_RPATH $ENV{llvm_openmp_ROOT}/lib )
endif()
list( APPEND CMAKE_INSTALL_RPATH ${CMAKE_CURRENT_BINARY_DIR}/fv3 )
Copy link
Collaborator

Choose a reason for hiding this comment

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

This line should be removed. There is no subdirectory fv3 in the top-level ufs-bundle

CMakeLists.txt Outdated Show resolved Hide resolved
@BenjaminTJohnson
Copy link
Author

I'm on PTO until Friday, Aug 2. Please feel free to modify this PR as needed.

@climbfuji
Copy link
Collaborator

I'm on PTO until Friday, Aug 2. Please feel free to modify this PR as needed.

Same for me :-)

BenjaminTJohnson and others added 3 commits September 17, 2024 14:58
removed a space

Co-authored-by: Dom Heinzeller <[email protected]>
removed append of RPATH with fv3 directory
@shlyaeva
Copy link
Collaborator

I won't have time to work on this unfortunately; I'll remove myself from the reviewers here.

@shlyaeva shlyaeva removed their request for review September 26, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Recently introduced CRTM cmake build breaks ufs-bundle
3 participants