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

[CI][C++] test-debian-12-docs job fails finding CUDA #45514

Closed
raulcd opened this issue Feb 12, 2025 · 1 comment
Closed

[CI][C++] test-debian-12-docs job fails finding CUDA #45514

raulcd opened this issue Feb 12, 2025 · 1 comment

Comments

@raulcd
Copy link
Member

raulcd commented Feb 12, 2025

Describe the bug, including details regarding any error messages, version, and platform.

We have fixed the test-debian-12 jobs here:

This is a follow up task from the comment here:
#45511 (review)

Currently the only job failing is:

With:

2025-02-12T08:43:06.1451336Z -- Unable to find cuda_runtime.h in "/usr/lib/include" for CUDAToolkit_INCLUDE_DIR.
2025-02-12T08:43:06.1452770Z -- Unable to find cublas_v2.h in either "" or "/math_libs/include"
2025-02-12T08:43:06.1476771Z CMake Error at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
2025-02-12T08:43:06.1477685Z   Could NOT find CUDAToolkit (missing: CUDAToolkit_INCLUDE_DIR) (found
2025-02-12T08:43:06.1478231Z   version "11.8.89")
2025-02-12T08:43:06.1478583Z Call Stack (most recent call first):
2025-02-12T08:43:06.1479324Z   /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
2025-02-12T08:43:06.1480405Z   /usr/share/cmake-3.25/Modules/FindCUDAToolkit.cmake:869 (find_package_handle_standard_args)
2025-02-12T08:43:06.1481189Z   src/arrow/gpu/CMakeLists.txt:44 (find_package)

As this is unrelated to the fix on the other PR we should work on it as a separate task.

Component(s)

Continuous Integration, C++

kou added a commit that referenced this issue Feb 14, 2025
…ocs (#45520)

### Rationale for this change

CMake's `FindCUDAToolkit.cmake` uses `/usr/lib/cuda/` as the default prefix but Debian's `nvidia-cuda-dev` uses `/usr` as prefix.

### What changes are included in this PR?

Set `CUDAToolkit_ROOT=/usr` explicitly.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: #45514

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
@kou kou added this to the 20.0.0 milestone Feb 14, 2025
@kou
Copy link
Member

kou commented Feb 14, 2025

Issue resolved by pull request 45520
#45520

@kou kou closed this as completed Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants