Skip to content

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

Open
BenjaminTJohnson wants to merge 4 commits into
developfrom
feature/btj_CMakeList_fix_CRTM
Open

Update to ufs-bundle CMakeLists.txt to use same RPATH and ecbundle_initialize commands that jedi-bundle uses#71
BenjaminTJohnson wants to merge 4 commits into
developfrom
feature/btj_CMakeList_fix_CRTM

Conversation

@BenjaminTJohnson

Copy link
Copy Markdown

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
Copy Markdown
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

Comment thread 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
Copy Markdown
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

Comment thread CMakeLists.txt Outdated
@BenjaminTJohnson

Copy link
Copy Markdown
Author

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

@climbfuji

Copy link
Copy Markdown
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 <dom.heinzeller@icloud.com>
removed append of RPATH with fv3 directory
@shlyaeva

Copy link
Copy Markdown
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