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 missing RMM_STATIC_CUDART define when compiling JNI with static CUDA runtime #10585

Merged
merged 1 commit into from
Apr 4, 2022

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Apr 4, 2022

Fixes #10571.

This fixes the JNI CMakeLists.txt so that RMM will automatically get the RMM_STATIC_CUDART define added to the build when CUDA_STATIC_RUNTIME=ON. Verified by building with Javva CI Dockerfile with static CUDA runtime and examining the build command-lines and flag definitions in java/target/cmake-build/CMakeFiles.

@jlowe jlowe added bug Something isn't working Java Affects Java cuDF API. 4 - Needs cuDF (Java) Reviewer non-breaking Non-breaking change labels Apr 4, 2022
@jlowe jlowe requested a review from a team as a code owner April 4, 2022 17:58
@jlowe jlowe self-assigned this Apr 4, 2022
@github-actions github-actions bot added the CMake CMake build issue label Apr 4, 2022
@codecov
Copy link

codecov bot commented Apr 4, 2022

Codecov Report

Merging #10585 (983020b) into branch-22.06 (73bc7d7) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           branch-22.06   #10585      +/-   ##
================================================
- Coverage         86.33%   86.33%   -0.01%     
================================================
  Files               140      140              
  Lines             22300    22300              
================================================
- Hits              19253    19252       -1     
- Misses             3047     3048       +1     
Impacted Files Coverage Δ
python/cudf/cudf/core/column/numerical.py 95.88% <0.00%> (-0.30%) ⬇️

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 ca952f8...983020b. Read the comment docs.

@jlowe
Copy link
Member Author

jlowe commented Apr 4, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit fa0938f into rapidsai:branch-22.06 Apr 4, 2022
@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.

[BUG] RMM_STATIC_CUDART needs to be set when statically linking cudart in JNI
3 participants