Repository navigation
windlls - #8283
windlls#8283
Conversation
WalkthroughIntroduces consolidated runtime dependency search directories in CMake for macOS/Windows by deriving paths from CMAKE_PREFIX_PATH and the OpenMS runtime dir, and switches install(RUNTIME_DEPENDENCY_SET) to use this list. Adds Apache Arrow to vcpkg.json dependencies. Adjusts comments and minor exclusion list notes without changing public APIs. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Dev as CMake Install
participant Cfg as package_general.cmake
participant Sys as System Paths
participant Set as RUNTIME_DEPENDENCY_SET
Dev->>Cfg: configure install()
Cfg->>Sys: Derive DEP_BIN_DIRS/DEP_LIB_DIRS from CMAKE_PREFIX_PATH
Cfg->>Cfg: Append OpenMS runtime dir to DEP_BIN_DIRS
Cfg->>Cfg: Combine into RUNTIME_DEP_SEARCH_DIRS
note over Cfg: Platform-specific PRE/POST_EXCLUDE rules applied
Dev->>Set: install(RUNTIME_DEPENDENCY_SET OPENMS_DEPS<br/>DIRECTORIES=RUNTIME_DEP_SEARCH_DIRS)
Set-->>Dev: Copy/resolve runtime deps from search dirs
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🔇 Additional comments (4)
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
I could not reproduce #8273 . Installs fine for me with vcpkg. Might be an issue with the CMake config from libarrow on conda. Or a general CMake limitation of TARGET_RUNTIME_DLL with PRIVATE transitive dependencies: https://discourse.cmake.org/t/unexpected-behavior-of-target-runtime-dlls-when-mixing-static-shared-public-private-libraries/10352 Maybe this fix helps nonetheless by trying to look in the directories that CMake also looks into when trying to find the dlls originally. |
Summary by CodeRabbit
Bug Fixes
Chores