Skip to content

Commit

Permalink
Set CUDA_STATIC_MATH_LIBRARIES in Python builds
Browse files Browse the repository at this point in the history
In #4526, we introduced the
CUDA_STATIC_MATH_LIBRARIES option and set it to OFF by default. We
did not set it to ON in the Python builds, and as a result ended
up bundling dynamic CUDA libraries. Set the option to ON in the
Python build.
  • Loading branch information
KyleFromNVIDIA committed Aug 15, 2024
1 parent a538745 commit aa83fbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/cugraph/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ if(NOT cugraph_FOUND)
set(BUILD_CUGRAPH_MG_TESTS OFF)
set(BUILD_CUGRAPH_OPS_CPP_TESTS OFF)
set(CUDA_STATIC_RUNTIME ON)
set(CUDA_STATIC_MATH_LIBRARIES ON)
set(USE_RAFT_STATIC ON)
set(CUGRAPH_COMPILE_RAFT_LIB ON)
set(CUGRAPH_USE_CUGRAPH_OPS_STATIC ON)
Expand Down
1 change: 1 addition & 0 deletions python/pylibcugraph/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ if (NOT cugraph_FOUND)
set(BUILD_CUGRAPH_MG_TESTS OFF)
set(BUILD_CUGRAPH_OPS_CPP_TESTS OFF)
set(CUDA_STATIC_RUNTIME ON)
set(CUDA_STATIC_MATH_LIBRARIES ON)
set(USE_RAFT_STATIC ON)
set(CUGRAPH_COMPILE_RAFT_LIB ON)
set(CUGRAPH_USE_CUGRAPH_OPS_STATIC ON)
Expand Down

0 comments on commit aa83fbf

Please sign in to comment.