Skip to content

Commit

Permalink
fix cuda compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
mgravey committed Jan 7, 2024
1 parent 987fa4d commit 487f618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ ifneq ($(dosentSupportCUDA),1)
export CFLAGS+= -DWITH_CUDA
export WITH_CUDA+=g2s_cuda.so
export LDFLAGS_NO_SERVER_ONLY+=-Wl,--export-dynamic -Wl,-rpath,/usr/local/cuda/targets/x86_64-linux/lib/
export NVLIB +=-L$(dir $(shell sh -c "which ${NVCC}"))/../targets/x86_64-linux/lib/ -lcudart -lcufft -lcublas --compiler-options -Wl,-rpath,/usr/local/cuda/targets/x86_64-linux/lib/
export NVLIB +=-L$(dir $(shell sh -c "which ${NVCC}"))/../targets/x86_64-linux/lib/ -lcudart -lcufft -lcublas --Xlinker -Wl,-rpath,/usr/local/cuda/targets/x86_64-linux/lib/
export LIBINC+=-I$(dir $(shell sh -c "which ${NVCC}"))/../targets/x86_64-linux/include/
endif

Expand Down

0 comments on commit 487f618

Please sign in to comment.