Add --no-as-needed to make sure that cudart library gets liked
[ROCm/rccl commit: c0c959b1be]
This commit is contained in:
1 parent
014160c90a
commit
3baec150aa
1 file changed
+1
-1
@@ -50,7 +50,7 @@ NVCUFLAGS += -Xptxas -v -Xcompiler -Wall,-Wextra
|
||||
CXXFLAGS += -Wall -Wextra
|
||||
endif
|
||||
|
||||
LDFLAGS := -L$(CUDA_HOME)/lib64 -lcudart
|
||||
LDFLAGS := -Wl,--no-as-needed -L$(CUDA_HOME)/lib64 -lcudart
|
||||
MPIFLAGS := -I$(MPI_HOME)/include -L$(MPI_HOME)/lib -lmpi
|
||||
TSTINC := -Ibuild/include -Itest/include
|
||||
|
||||
|
||||
Reference in new issue
Block a user