Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions conda/environments/all_cuda-129_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies:
- certifi
- cmake>=3.30.4
- cuda-nvcc
- cuda-nvrtc-dev
- cuda-nvtx-dev
- cuda-profiler-api
- cuda-python>=12.9.2,<13.0
Expand Down
1 change: 1 addition & 0 deletions conda/environments/all_cuda-129_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies:
- certifi
- cmake>=3.30.4
- cuda-nvcc
- cuda-nvrtc-dev
- cuda-nvtx-dev
- cuda-profiler-api
- cuda-python>=12.9.2,<13.0
Expand Down
1 change: 1 addition & 0 deletions conda/environments/all_cuda-131_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies:
- certifi
- cmake>=3.30.4
- cuda-nvcc
- cuda-nvrtc-dev
- cuda-nvtx-dev
- cuda-profiler-api
- cuda-python>=13.0.1,<14.0
Expand Down
1 change: 1 addition & 0 deletions conda/environments/all_cuda-131_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies:
- certifi
- cmake>=3.30.4
- cuda-nvcc
- cuda-nvrtc-dev
- cuda-nvtx-dev
- cuda-profiler-api
- cuda-python>=13.0.1,<14.0
Expand Down
20 changes: 20 additions & 0 deletions conda/recipes/libcugraph/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ cache:
- nccl ${{ nccl_version }}
- openmpi <5.0.3 # Required for building cpp-mgtests (multi-GPU tests)
- rapids-build-backend >=0.4.0,<0.5.0
- cuda-cudart-dev
- cuda-nvrtc-dev
- cuda-nvtx-dev
- cuda-profiler-api
- libcublas-dev
Expand Down Expand Up @@ -111,6 +113,8 @@ outputs:
- cuda-version =${{ cuda_version }}
- librmm =${{ minor_version }}
- rapids-logger =0.2
- cuda-cudart-dev
- cuda-nvrtc-dev
- libcublas-dev
- libcurand-dev
- libcusolver-dev
Expand All @@ -120,13 +124,17 @@ outputs:
- libraft =${{ minor_version }}
- librmm =${{ minor_version }}
- nccl ${{ nccl_version }}
- cuda-cudart
- cuda-nvrtc
- cuda-profiler-api
- libcublas
- libcurand
- libcusolver
- libcusparse
ignore_run_exports:
by_name:
- cuda-cudart
- cuda-nvrtc
- cuda-nvtx
- cuda-version
- libcublas
Expand Down Expand Up @@ -166,13 +174,19 @@ outputs:
- cuda-version =${{ cuda_version }}
- libcudf =${{ minor_version }}
- librmm =${{ minor_version }}
- cuda-cudart-dev
- cuda-nvrtc-dev
run:
- ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }}
- ${{ pin_subpackage("libcugraph", exact=True) }}
- libcudf =${{ minor_version }}
- librmm =${{ minor_version }}
- cuda-cudart
- cuda-nvrtc
ignore_run_exports:
by_name:
- cuda-cudart
- cuda-nvrtc
- cuda-nvtx
- cuda-version
- libcublas
Expand Down Expand Up @@ -209,15 +223,21 @@ outputs:
host:
- ${{ pin_subpackage("libcugraph", exact=True) }}
- cuda-version =${{ cuda_version }}
- cuda-cudart-dev
- cuda-nvrtc-dev
- nccl ${{ nccl_version }}
- openmpi <5.0.3 # Required for building cpp-mgtests (multi-GPU tests)
- rapids-logger =0.2
run:
- ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }}
- ${{ pin_subpackage("libcugraph", exact=True) }}
- ${{ pin_subpackage("libcugraph_etl", exact=True) }}
- cuda-cudart
- cuda-nvrtc
ignore_run_exports:
by_name:
- cuda-cudart
- cuda-nvrtc
- cuda-nvtx
- cuda-version
- libcublas
Expand Down
6 changes: 5 additions & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,9 @@ SECTIONS
}
]=])

set_property(TARGET cugraph PROPERTY NO_CUDART_DEP ON)
set_property(TARGET cugraph_mg PROPERTY NO_CUDART_DEP ON)

set(cugraph_suffixes "" "_mg")
foreach(suffix IN LISTS cugraph_suffixes)
set_target_properties(cugraph${suffix}
Expand Down Expand Up @@ -511,13 +514,14 @@ foreach(suffix IN LISTS cugraph_suffixes)
# - link libraries -------------------------------------------------------------
target_link_libraries(cugraph${suffix}
PUBLIC
rmm::rmm
raft::raft
$<BUILD_LOCAL_INTERFACE:CUDA::toolkit>
PRIVATE
${COMPILED_RAFT_LIB}
$<IF:$<BOOL:${CUGRAPH_USE_CUVS_STATIC}>,cuvs::cuvs_static,cuvs::cuvs> #
cuco::cuco
rmm::rmm
INTERFACE $<COMPILE_ONLY:rmm::rmm>
)

################################################################################
Expand Down
3 changes: 3 additions & 0 deletions cpp/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ target_compile_options(cugraphtestutil
)

set_property(TARGET cugraphtestutil PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET cugraphtestutil PROPERTY NO_CUDART_DEP ON)

target_include_directories(cugraphtestutil
PUBLIC
Expand Down Expand Up @@ -83,6 +84,7 @@ target_include_directories(cugraph_c_testutil
)

set_property(TARGET cugraph_c_testutil PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET cugraph_c_testutil PROPERTY NO_CUDART_DEP ON)

target_link_libraries(cugraph_c_testutil
PUBLIC
Expand Down Expand Up @@ -114,6 +116,7 @@ if(BUILD_CUGRAPH_MG_TESTS)
)

set_property(TARGET cugraphmgtestutil PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET cugraphmgtestutil PROPERTY NO_CUDART_DEP ON)

target_compile_options(cugraphmgtestutil
PUBLIC "$<$<COMPILE_LANGUAGE:CXX>:${CUGRAPH_CXX_FLAGS}>"
Expand Down
5 changes: 3 additions & 2 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ dependencies:
common:
- output_types: [conda]
packages:
- cuda-nvrtc-dev
- cuda-nvtx-dev
- cuda-profiler-api
- libcublas-dev
Expand Down Expand Up @@ -328,13 +329,13 @@ dependencies:
cuda: "12.9"
use_cuda_wheels: "true"
packages:
- cuda-toolkit[cublas,curand,cusolver,cusparse]==12.*
- cuda-toolkit[cublas,curand,cusolver,cusparse,nvrtc]==12.*
- nvidia-nvjitlink-cu12>=12.9,<13
- matrix:
cuda: "13.*"
use_cuda_wheels: "true"
packages:
- &ctk_cu13 cuda-toolkit[cublas,curand,cusolver,cusparse]==13.*
- &ctk_cu13 cuda-toolkit[cublas,curand,cusolver,cusparse,nvrtc]==13.*
- &nvjitlink_cu13 nvidia-nvjitlink>=13.0,<14
# if no matching matrix selectors passed, list the CUDA 13 requirement
# (just as a source of documentation, as this populates pyproject.toml in source control)
Expand Down
2 changes: 1 addition & 1 deletion python/libcugraph/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ classifiers = [
"Environment :: GPU :: NVIDIA CUDA",
]
dependencies = [
"cuda-toolkit[cublas,curand,cusolver,cusparse]==13.*",
"cuda-toolkit[cublas,curand,cusolver,cusparse,nvrtc]==13.*",
"libraft==26.6.*,>=0.0.0a0",
"librmm==26.6.*,>=0.0.0a0",
"nvidia-nvjitlink>=13.0,<14",
Expand Down
Loading