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

Add zlib to cudfjni link when using static libcudf library dependency #9890

Merged
merged 1 commit into from
Dec 11, 2021

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Dec 11, 2021

When the Java bindings use libcudf as a static library dependency, the resulting link is missing zlib as a dynamic link dependency. This can result in runtime errors such as undefined symbol: inflateInit2_ when trying to load a file using gzip compression. This adds zlib to the cudfjni link when using libcudf.a as the cudf dependency.

@jlowe jlowe added bug Something isn't working Java Affects Java cuDF API. 4 - Needs cuDF (Java) Reviewer non-breaking Non-breaking change labels Dec 11, 2021
@jlowe jlowe self-assigned this Dec 11, 2021
@jlowe jlowe requested a review from a team as a code owner December 11, 2021 00:26
@github-actions github-actions bot added the CMake CMake build issue label Dec 11, 2021
@jlowe
Copy link
Member Author

jlowe commented Dec 11, 2021

@gpucibot merge

Copy link
Contributor

@gerashegalov gerashegalov left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov
Copy link

codecov bot commented Dec 11, 2021

Codecov Report

Merging #9890 (a2dab7e) into branch-22.02 (967a333) will decrease coverage by 0.06%.
The diff coverage is 0.00%.

Impacted file tree graph

@@               Coverage Diff                @@
##           branch-22.02    #9890      +/-   ##
================================================
- Coverage         10.49%   10.42%   -0.07%     
================================================
  Files               119      119              
  Lines             20305    20479     +174     
================================================
+ Hits               2130     2134       +4     
- Misses            18175    18345     +170     
Impacted Files Coverage Δ
python/cudf/cudf/__init__.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/_base_index.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/column/column.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/column/datetime.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/column/string.py 0.00% <ø> (ø)
python/cudf/cudf/core/dataframe.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/frame.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/groupby/groupby.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/index.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/indexed_frame.py 0.00% <0.00%> (ø)
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b359a0f...a2dab7e. Read the comment docs.

@rapids-bot rapids-bot bot merged commit e581734 into rapidsai:branch-22.02 Dec 11, 2021
@jlowe jlowe deleted the fix-jni-static-zlib branch December 11, 2021 03:28
@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 bug Something isn't working CMake CMake build issue Java Affects Java cuDF API. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants