Skip to content

Commit 6ac4025

Browse files
committed
fix makefile merge
1 parent 9282c30 commit 6ac4025

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ endif
6262
CUBLASLD_FLAGS =
6363
CUBLAS_OBJS =
6464

65-
OBJS_FULL += ggml-alloc.o ggml-quants.o unicode.o unicode-data.o sgemm.o common.o grammar-parser.o
66-
OBJS_SIMPLE += ggml-alloc.o ggml-quants_noavx2.o unicode.o unicode-data.o sgemm_noavx2.o common.o grammar-parser.o
67-
OBJS_FAILSAFE += ggml-alloc.o ggml-quants_failsafe.o unicode.o unicode-data.o sgemm_failsafe.o common.o grammar-parser.o
65+
OBJS_FULL += ggml-alloc.o ggml-quants.o unicode.o unicode-data.o sgemm.o common.o sampling.o grammar-parser.o
66+
OBJS_SIMPLE += ggml-alloc.o ggml-quants_noavx2.o unicode.o unicode-data.o sgemm_noavx2.o common.o sampling.o grammar-parser.o
67+
OBJS_FAILSAFE += ggml-alloc.o ggml-quants_failsafe.o unicode.o unicode-data.o sgemm_failsafe.o common.o sampling.o grammar-parser.o
6868

6969
#lets try enabling everything
7070
CFLAGS += -pthread -s -Wno-deprecated -Wno-deprecated-declarations
@@ -497,6 +497,8 @@ llama.o: llama.cpp ggml.h ggml-alloc.h ggml-backend.h ggml-cuda.h ggml-metal.h l
497497
$(CXX) $(CXXFLAGS) -c $< -o $@
498498
common.o: common/common.cpp common/common.h common/log.h
499499
$(CXX) $(CXXFLAGS) -c $< -o $@
500+
sampling.o: common/sampling.cpp common/common.h common/sampling.h common/log.h
501+
$(CXX) $(CXXFLAGS) -c $< -o $@
500502
console.o: common/console.cpp common/console.h
501503
$(CXX) $(CXXFLAGS) -c $< -o $@
502504
grammar-parser.o: common/grammar-parser.cpp common/grammar-parser.h

0 commit comments

Comments
 (0)