Skip to content

Commit af120c2

Browse files
authored
set nccl ABI version (#2587)
1 parent 6a3acf2 commit af120c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlx/distributed/nccl/nccl_stub/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ file(
88
"${CMAKE_CURRENT_BINARY_DIR}/nccl.h")
99

1010
add_library(nccl SHARED nccl_stubs.cpp)
11+
set_target_properties(nccl PROPERTIES SOVERSION 2)
1112
find_package(CUDAToolkit REQUIRED)
1213
target_include_directories(nccl PRIVATE ${CUDAToolkit_INCLUDE_DIRS})
1314
target_include_directories(nccl PRIVATE ${CMAKE_CURRENT_BINARY_DIR})

0 commit comments

Comments
 (0)