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

Provide a better error message when CUDA::cuda_driver not found #8794

Conversation

robertmaynard
Copy link
Contributor

cuDF JITIFY sources require the the CUDA driver ( libcuda.so ) or
stub to exist for correct compilation/linking. If they can't be
found explain why, instead of producing a bad error message

cuDF JITIFY sources require the the CUDA driver ( libcuda.so ) or
stub to exist for correct compilation/linking. If they can't be
found explain why, instead of producing a bad error message
@robertmaynard robertmaynard added 3 - Ready for Review Ready for review by team code quality CMake CMake build issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jul 20, 2021
@robertmaynard robertmaynard requested a review from a team as a code owner July 20, 2021 13:45
@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Jul 20, 2021
@codecov
Copy link

codecov bot commented Jul 20, 2021

Codecov Report

❗ No coverage uploaded for pull request base (branch-21.08@67b7aac). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head f621c2f differs from pull request most recent head c4a9254. Consider uploading reports for the commit c4a9254 to get more accurate results
Impacted file tree graph

@@               Coverage Diff               @@
##             branch-21.08    #8794   +/-   ##
===============================================
  Coverage                ?   10.49%           
===============================================
  Files                   ?      116           
  Lines                   ?    18985           
  Branches                ?        0           
===============================================
  Hits                    ?     1993           
  Misses                  ?    16992           
  Partials                ?        0           

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 67b7aac...c4a9254. Read the comment docs.

@davidwendt
Copy link
Contributor

As one who was victim of the build failure that this PR addresses, I have verified this change works for me.

cpp/CMakeLists.txt Outdated Show resolved Hide resolved
Co-authored-by: Mark Harris <[email protected]>
@harrism
Copy link
Member

harrism commented Jul 22, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 41f5634 into rapidsai:branch-21.08 Jul 22, 2021
@robertmaynard robertmaynard deleted the fea/better_error_message_when_libcuda_cant_be_found branch July 22, 2021 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team CMake CMake build issue improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants