Repository navigation
Simplify DLL copying logic for test and docs on MSVC systems - #8244
Conversation
WalkthroughReplaces older CMake-version-gated DLL copying with a per-target Windows post-build that copies runtime DLLs to output and test folders by default; copying to the documentation folder is now conditional on a new ENABLE_DOCS option. Apple/clang adjustments and comments/TODOs retained. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant CMake as CMake (configure)
participant Target as Library Target
participant FS as File System
CMake->>Target: add post-build commands (WIN32 only)
Note right of Target #DDEEFF: Default per-target post-build actions
Target->>FS: copy runtime DLLs -> output folder
Target->>FS: copy runtime DLLs -> test folder
alt ENABLE_DOCS == ON
Note right of Target #E6FFE6: Docs copy enabled via post-build
Target->>FS: copy runtime DLLs -> documentation folder
end
Note over Target,FS: Apple/clang-specific adjustments applied where relevant
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
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 |
only copy if with docs. make dir first.
|
You get the idea. But it's a waste of time trying this on GHA. |
- Extend DLL copying logic to handle Arrow/Parquet and transitive dependencies - Add support for abseil, aws-cpp-sdk, brotli, crc32c, and other Arrow deps - Use glob patterns to be robust to future version changes - Mirror approach from PR #8244 for other dependencies - Copy DLLs to output, test, and doc directories when WITH_PARQUET is enabled Co-authored-by: poshul <[email protected]>
Description
@poshul Maybe that works. Who knows.
Summary by CodeRabbit