Skip to content

ARROW-4026: [C++] Add *-all, *-tests, *-benchmarks modular CMake targets. Use in Travis CI - #3204

Closed
wesm wants to merge 2 commits into
apache:masterfrom
wesm:ARROW-4026
Closed

wesm wants to merge 2 commits into
apache:masterfrom
wesm:ARROW-4026

Conversation

@wesm

@wesm wesm commented Dec 17, 2018 •

Copy link
Copy Markdown
Member

This provides much more granular control over what targets are built. Before this patch ninja arrow would build all libraries and tests if ARROW_BUILD_TESTS=ON. If you wanted to build the tests for a dependent target of the Arrow libraries, like Parquet or Plasma, you were forced to build the Arrow core unit tests.

Now you can do

ninja parquet-tests

And it will only build the Arrow and Parquet libraries, and the tests labeled with "parquet-tests".

Similarly this allows you to rebuild the libraries without necessarily having to relink all the unit tests (e.g. with ninja arrow or ninja parquet)

wesm added 2 commits December 17, 2018 12:04
Change-Id: I56c723873f0d0922c73dd5c370a4132073243a79
Change-Id: I00871f2520d8faee6e002555813231c703cb1025
@wesm

wesm commented Dec 17, 2018

Copy link
Copy Markdown
Member Author

+1. I am merging so that I can focus on getting ARROW-3803 working cleanly. If you want anything changed or improved, please leave comments and I will make a follow up patch

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.

1 participant