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

Fix JNI native dependency load order [skip ci] #6617

Merged
merged 2 commits into from
Oct 28, 2020

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Oct 28, 2020

This changes the JNI native dependency load order to always load libcudf_base.so before loading libcudf_comms.so.

When built with some toolchains, libcudf_comms.so has an explicit dependency on libcudf_base.so whereas with other toolchains it does not. The JNI code currently loads libcudf_base.so and libcudf_comms.so in parallel, but this only works when building with a toolchain smart enough to realize libcudf_comms.so does not need libcudf_base.so despite linking against it.

@jlowe jlowe added Java Affects Java cuDF API. 4 - Needs cuDF (Java) Reviewer labels Oct 28, 2020
@jlowe jlowe requested a review from a team as a code owner October 28, 2020 19:34
@jlowe jlowe self-assigned this Oct 28, 2020
@jlowe jlowe added this to PR-WIP in v0.17 Release via automation Oct 28, 2020
@GPUtester
Copy link
Collaborator

Please update the changelog in order to start CI tests.

View the gpuCI docs here.

@jlowe jlowe changed the title Fix JNI native deps load order [skip ci] Fix JNI native dependency load order [skip ci] Oct 28, 2020
v0.17 Release automation moved this from PR-WIP to PR-Reviewer approved Oct 28, 2020
@jlowe jlowe merged commit 8b7730e into rapidsai:branch-0.17 Oct 28, 2020
v0.17 Release automation moved this from PR-Reviewer approved to Done Oct 28, 2020
@jlowe jlowe deleted the fix-jni-load-order branch October 28, 2020 19:39
@vyasr vyasr added 4 - Needs Review Waiting for reviewer to review or respond and removed 4 - Needs cuDF (Java) Reviewer labels Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 - Needs Review Waiting for reviewer to review or respond Java Affects Java cuDF API.
Projects
No open projects
v0.17 Release
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

5 participants