Skip to content

Add ARROW_USE_STATIC option for Arrow/Parquet library selection - #8434

Merged
timosachsenberg merged 3 commits into
pyopenms_parquetfrom
copilot/sub-pr-8422
Dec 5, 2025
Merged

timosachsenberg merged 3 commits into
pyopenms_parquetfrom
copilot/sub-pr-8422

Conversation

Copilot AI commented Dec 5, 2025 •

Copy link
Copy Markdown
Contributor

Description

Adds ARROW_USE_STATIC CMake option to control whether static or shared Arrow/Parquet libraries are used when both are available, following the same pattern as BOOST_USE_STATIC.

Changes:

  • Added ARROW_USE_STATIC option in cmake/build_system_macros.cmake (default: ON)
  • Updated target selection logic in cmake/cmake_findExternalLibs.cmake to respect the preference with fallback

Usage:

cmake ... -DARROW_USE_STATIC=OFF  # Prefer shared libraries

Checklist

  • Make sure that you are listed in the AUTHORS file
  • Add relevant changes and new features to the CHANGELOG file
  • I have commented my code, particularly in hard-to-understand areas
  • New and existing unit tests pass locally with my changes
  • Updated or added python bindings for changed or new classes (Tick if no updates were necessary.)

How can I get additional information on failed tests during CI

Click to expand If your PR is failing you can check out

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.
  • setting the label "NoJenkins" will skip tests for this PR on jenkins (saves resources e.g., on edits that do not affect tests)
  • commenting with rebuild jenkins will retrigger Jenkins-based CI builds

⚠️ Note: Once you opened a PR try to minimize the number of pushes to it as every push will trigger CI (automated builds and test) and is rather heavy on our infrastructure (e.g., if several pushes per day are performed).


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@coderabbitai

coderabbitai Bot commented Dec 5, 2025

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI and others added 2 commits December 5, 2025 17:58
…ency with BOOST_USE_STATIC

Co-authored-by: timosachsenberg <[email protected]>
Copilot AI changed the title [WIP] Enable Parquet support in pyopenms wheels build Add ARROW_USE_STATIC option for Arrow/Parquet library selection Dec 5, 2025
Copilot AI requested a review from timosachsenberg December 5, 2025 18:02
@timosachsenberg
timosachsenberg marked this pull request as ready for review December 5, 2025 18:15
@timosachsenberg
timosachsenberg merged commit a6a0cfa into pyopenms_parquet Dec 5, 2025
@timosachsenberg
timosachsenberg deleted the copilot/sub-pr-8422 branch December 5, 2025 21:10
timosachsenberg added a commit that referenced this pull request Dec 6, 2025
* Enable Parquet support in pyopenms wheels build

* Enable parquet support in CI workflow

* add /contrib-build/lib64 to LOOKUP_DIRS

* pin windows qt6 version to match

* use static arrow and parquet

* Add ARROW_USE_STATIC option for Arrow/Parquet library selection (#8434)

* Initial plan

* Add ARROW_USE_STATIC option to control Arrow/Parquet static vs shared library preference

Co-authored-by: timosachsenberg <[email protected]>

* Move ARROW_USE_STATIC option to build_system_macros.cmake for consistency with BOOST_USE_STATIC

Co-authored-by: timosachsenberg <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: timosachsenberg <[email protected]>

---------

Co-authored-by: Timo Sachsenberg <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: timosachsenberg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants