cudf icon indicating copy to clipboard operation
cudf copied to clipboard

Default to static linking of libcudart

Open bdice opened this issue 1 month ago • 0 comments

Summary

  • Enable static linking of libcudart by default (CUDA_STATIC_RUNTIME=ON)
  • Remove cuda-cudart from conda recipe run requirements (no longer needed when statically linked)

This is part of a RAPIDS-wide effort to switch to static CUDA runtime linking. See https://github.com/rapidsai/build-planning/issues/235 for tracking.

Changes

  • cpp/CMakeLists.txt: Change CUDA_STATIC_RUNTIME default from OFF to ON
  • conda/recipes/cudf/recipe.yaml: Remove cuda-cudart from run deps
  • conda/recipes/cudf_kafka/recipe.yaml: Remove cuda-cudart from run deps

Note: Python builds already use CUDA_STATIC_RUNTIME=ON (set in python/libcudf/CMakeLists.txt).

bdice avatar Dec 09 '25 17:12 bdice