File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ add_custom_target(git_version_check
127127add_custom_target (hipify DEPENDS ${HIP_COMMON_SOURCES} )
128128add_library (rccl_common OBJECT ${HIP_COMMON_SOURCES} )
129129add_dependencies (rccl_common hipify git_version_check)
130- target_link_libraries (rccl_common roc::rccl hip::device Threads::Threads)
130+ target_link_libraries (rccl_common roc::rccl hip::device Threads::Threads dl )
131131if (USE_MPI)
132132 target_link_libraries (rccl_common MPI::MPI_CXX)
133133endif ()
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ HIPCUFLAGS += -DMPI_SUPPORT -I${MPI_HOME}/include -I${MPI_HOME}/mpich/include -I
129129HIPLDFLAGS += -L${MPI_HOME}/lib -L${MPI_HOME}/mpich/lib -lmpich
130130endif
131131
132- LIBRARIES += rccl
132+ LIBRARIES += rccl dl
133133HIPLDFLAGS += $(LIBRARIES:%=-l% )
134134
135135DST_DIR := $(BUILDDIR )
You can’t perform that action at this time.
0 commit comments