Bugfix: cmake: move setting of rpath in front of third party handling#2335
Open
benegee wants to merge 1 commit into
Open
Bugfix: cmake: move setting of rpath in front of third party handling#2335benegee wants to merge 1 commit into
benegee wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2335 +/- ##
=======================================
Coverage 82.57% 82.57%
=======================================
Files 116 116
Lines 18553 18553
=======================================
Hits 15320 15320
Misses 3233 3233 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes here:
When building and installing t8code's current June release, dynamic linking of
libp4est.so.4.0.0fails becauselibsc.so.4.0.0cannot be found. This is caused by a missing rpath setting. In fact, when runningmake installwe seeThe reason seems to be the order in which the rpaths are set up within CMakeLists.txt. Before introducing FetchContent for third party sources (#2303), it happened before sc and p4est were added, now it is done after.
Resolves #2334
All these boxes must be checked by the AUTHOR before requesting review:
Documentation:,Bugfix:,Feature:,Improvement:orOther:.All these boxes must be checked by the REVIEWERS before merging the pull request:
As a reviewer please read through all the code lines and make sure that the code is fully understood, bug free, well-documented and well-structured.
General
Tests
If the Pull request introduces code that is not covered by the github action (for example coupling with a new library):
Scripts and Wiki
scripts/internal/find_all_source_files.shto check the indentation of these files.License
doc/(or already has one).