Repository navigation
Windows Installer: exclude sytem dlls - #8001
Conversation
…he extracted system32 paths have weird cases)
WalkthroughThis change updates the dependency exclusion logic in the CMake packaging script for OpenMS. It introduces two separate exclusion regex lists—one for pre-analysis and one for post-analysis—clarifying their purpose through comments. On Windows, the previous exclusion list is split to better match CMake's regex behavior and to distinguish between system DLLs and unresolved dependencies. For Apple and other platforms, similar renaming and adjustments are made. The installation command is updated to use the new variables, ensuring more precise and documented control over dependency exclusion during packaging. Changes
Sequence Diagram(s)sequenceDiagram
participant CMake
participant Script
participant DependencyAnalyzer
CMake->>Script: Run packaging script
Script->>DependencyAnalyzer: Analyze dependencies (PRE_EXCLUDE_REGEXES applied)
DependencyAnalyzer-->>Script: Return full dependency list
Script->>Script: Filter dependencies (POST_EXCLUDE_REGEXES applied)
Script->>CMake: Install filtered dependencies
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (5)
🔇 Additional comments (5)
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
augments #7995 by fixing the POST_EXCLUDE regex.
Works nicely locally. The resulting installer is way smaller, has only vcredist DLLs and works fine on a vanilla Win10 VM.
For documentation purposes, put this in package_nsis.cmake to list the actual dependencies:
Checklist
How can I get additional information on failed tests during CI
Click to expand
If your PR is failing you can check outIf you click in the column that lists the failed tests you will get detailed error messages.
Advanced commands (admins / reviewer only)
Click to expand
/reformat(experimental) applies the clang-format style changes as additional commit. Note: your branch must have a different name (e.g., yourrepo:feature/XYZ) than the receiving branch (e.g., OpenMS:develop). Otherwise, reformat fails to push.rebuild jenkinswill retrigger Jenkins-based CI buildsSummary by CodeRabbit