1549 macOS import fails due to incorrect runtime library lookup (RPATH)#1550
1549 macOS import fails due to incorrect runtime library lookup (RPATH)#1550
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1550 +/- ##
==========================================
- Coverage 97.41% 97.40% -0.02%
==========================================
Files 190 190
Lines 16858 16866 +8
==========================================
+ Hits 16422 16428 +6
- Misses 436 438 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
reneSchm
left a comment
There was a problem hiding this comment.
Changes to the big int PickleType's are good, it probably should have been like that from the start.
I am not sure I fully understand the whole rpath situation, the cmake docs mention different variables for windows and apple, but no defaults for CMAKE_INSTALL_RPATH. It is also implied that only Linux uses rpaths at all?
|
Thanks for the feedback. We define the value for CMAKE_INSTALL_RPATH at the begining of the file. The problem was that the old code hardcoded $ORIGIN/lib is Linux-only syntax. On macOS the linker uses @loader_path instead. SO basically: Linux = PYMIO_INSTALL_RPATH = $ORIGIN;$ORIGIN/lib -> same as before |
Co-authored-by: reneSchm <49305466+reneSchm@users.noreply.github.com>
Changes and Information
Please briefly list the changes (main added features, changed items, or corrected bugs) made:
long/unsigned longIf need be, add additional information and what the reviewer should look out for in particular:
Merge Request - Guideline Checklist
Please check our git workflow. Use the draft feature if the Pull Request is not yet ready to review.
Checks by code author
Checks by code reviewer(s)