Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for changes to Arrow linkage in libcudf #2357

Merged
merged 5 commits into from
Aug 28, 2024

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Aug 27, 2024

With rapidsai/cudf#16640, the libcudf library no longer links to arrow. While that dependency has been removed, the Java native code has not been updated to avoid arrow and still needs it for interop with arrow buffers (cudf now uses nanoarrow). While that may be removed in the future, for now the spark-rapids-jni needs to have its build updated to support the new location of arrow libraries and headers since they are now within the libcudfjni build instead of the libcudf build.

This PR depends on rapidsai/cudf#16640, but will be required for spark-rapids-jni to build once that cudf PR is merged.

@vyasr vyasr mentioned this pull request Aug 27, 2024
3 tasks
@mythrocks
Copy link
Collaborator

Build

mythrocks
mythrocks previously approved these changes Aug 27, 2024
Copy link
Collaborator

@mythrocks mythrocks left a comment

Choose a reason for hiding this comment

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

👍 LGTM!
Thanks for working on this, @vyasr. 👏

I've run a smattering of integration tests in spark-rapids based on this change, including the parquet_pyarrow tests. Things appear to be in order.

Copy link
Member

@jlowe jlowe left a comment

Choose a reason for hiding this comment

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

This PR will need to explicitly update the thirdparty/cudf submodule to a version that contains rapidsai/cudf#16640, e.g.: latest branch-24.10, so it can test with those changes. We periodically update the submodule to follow cudf changes, but those updates will only automatically occur if it builds and tests pass. Since it won't build as-is without these changes, we'll need this PR to pull in the cudf changes.

@vyasr
Copy link
Contributor Author

vyasr commented Aug 27, 2024

Build

@vyasr
Copy link
Contributor Author

vyasr commented Aug 27, 2024

Thanks for confirming Jason. I've updated the branch and attempted to trigger a build although I suspect I won't have the power to do so.

@jlowe
Copy link
Member

jlowe commented Aug 27, 2024

build

@jlowe jlowe merged commit 41a95ba into NVIDIA:branch-24.10 Aug 28, 2024
3 checks passed
@vyasr vyasr deleted the feat/libcudfjni_arrow_linkage branch August 28, 2024 00:05
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