Antoine Pitrou created ARROW-15903:
--------------------------------------
Summary: [C++] Cannot build with system CUDA toolkit and
conda-forge compilers
Key: ARROW-15903
URL: https://issues.apache.org/jira/browse/ARROW-15903
Project: Apache Arrow
Issue Type: Bug
Components: C++, GPU
Reporter: Antoine Pitrou
I have the CUDA toolkit installed on my Ubuntu 20.04 machine. I can build Arrow
with CUDA support fine using the system-provided clang. However, if I try the
conda-forge clang, I get the following CMake error when configuring:
{code}
-- Unable to find cudart library.
CMake Error at
/home/antoine/miniconda3/envs/pyarrow/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230
(message):
Could NOT find CUDAToolkit (missing: CUDA_CUDART) (found version
"10.1.243")
Call Stack (most recent call first):
/home/antoine/miniconda3/envs/pyarrow/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594
(_FPHSA_FAILURE_MESSAGE)
/home/antoine/miniconda3/envs/pyarrow/share/cmake-3.22/Modules/FindCUDAToolkit.cmake:814
(find_package_handle_standard_args)
src/arrow/gpu/CMakeLists.txt:40 (find_package)
{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)