File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -124,9 +124,6 @@ endif()
124124set (THREADS_PREFER_PTHREAD_FLAG ON )
125125find_package (Threads REQUIRED)
126126
127- ##Adding pthread flag for linking
128- #set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
129-
130127## Check for HIP
131128find_package (hip REQUIRED)
132129message (STATUS "HIP compiler: ${HIP_COMPILER} " )
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ add_custom_target(git_version_check
126126add_custom_target (hipify DEPENDS ${HIP_COMMON_SOURCES} )
127127add_library (rccl_common OBJECT ${HIP_COMMON_SOURCES} )
128128add_dependencies (rccl_common hipify git_version_check)
129- target_link_libraries (rccl_common roc::rccl hip::device)
129+ target_link_libraries (rccl_common roc::rccl hip::device Threads::Threads )
130130if (USE_MPI)
131131 target_link_libraries (rccl_common MPI::MPI_CXX)
132132endif ()
You can’t perform that action at this time.
0 commit comments