Skip to content

ARROW-2522: [C++] Version shared library files - #1975

Closed
pitrou wants to merge 4 commits into
apache:masterfrom
pitrou:ARROW-2522-version-so-files
Closed

pitrou wants to merge 4 commits into
apache:masterfrom
pitrou:ARROW-2522-version-so-files

Conversation

@pitrou

@pitrou pitrou commented May 1, 2018

Copy link
Copy Markdown
Member

No description provided.

@pitrou

pitrou commented May 1, 2018

Copy link
Copy Markdown
Member Author

See question on JIRA about the naming scheme.

Comment thread cpp/CMakeLists.txt Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're using ARROW_ABI_VERSION in cpp/src/arrow/arrow.pc.in.
Please keep the name.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"ABI version" is really the wrong name for this. The ABI version doesn't change every patch release.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added a compatibility alias in arrow.pc.in and also fixed FindArrow.cmake.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.
We have similar codes for Plasma in cpp/src/CMakeLists.txt and cpp/src/plasma/plasma.pc.in. It's better that we change them too.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more thing.
I did the same thing (PARQUET_ABI_VERSION was introduced) for parquet-cpp. It may be better that we change them too for consistency. We have a code that depends on the in cpp/cmake_modules/FindParquet.cmake.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that PLASMA_VERSION is used in plasma.pc.in but never defined anywhere...

@pitrou
pitrou force-pushed the ARROW-2522-version-so-files branch from 97e8e26 to fd2749a Compare May 1, 2018 15:23
Comment thread cpp/CMakeLists.txt Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't we be able to read this from ARROW_VERSION? I dislike hardcoding the version number.

@pitrou
pitrou force-pushed the ARROW-2522-version-so-files branch from fd2749a to d6d02f5 Compare May 2, 2018 10:32
@pitrou

pitrou commented May 2, 2018

Copy link
Copy Markdown
Member Author

I think I addressed the review comments now, could you take another look?

@xhochy xhochy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM

But please wait for a review from @kou before merging

@kou

kou commented May 3, 2018

Copy link
Copy Markdown
Member

+1
I'll merge this!

@kou kou closed this in 8797390 May 3, 2018
@pitrou
pitrou deleted the ARROW-2522-version-so-files branch March 2, 2021 16:56
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.

3 participants