diff options
author | 源文雨 <41315874+fumiama@users.noreply.github.com> | 2023-04-20 21:28:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-20 15:28:43 +0200 |
commit | 5addcb120cf2682c7ede0b1c520592700d74c87c (patch) | |
tree | 5c6ec1593d5022d05427d3c2d7b530d24b07e0bb /Makefile | |
parent | c8c2c524827be8fd681a63f0e5a697b0bf4c587b (diff) |
fix: LLAMA_CUBLAS=1 undefined reference 'shm_open' (#1080)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ ifdef LLAMA_OPENBLAS endif ifdef LLAMA_CUBLAS CFLAGS += -DGGML_USE_CUBLAS -I/usr/local/cuda/include - LDFLAGS += -lcublas_static -lculibos -lcudart_static -lcublasLt_static -lpthread -ldl -L/usr/local/cuda/lib64 + LDFLAGS += -lcublas_static -lculibos -lcudart_static -lcublasLt_static -lpthread -ldl -lrt -L/usr/local/cuda/lib64 OBJS += ggml-cuda.o ggml-cuda.o: ggml-cuda.cu ggml-cuda.h nvcc -arch=native -c -o $@ $< |