mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-04-30 19:31:48 +00:00
Fix Makefile, add GGML_USE_IQK_MULMAT ifdefs to iqk-quantize
This commit is contained in:
3
Makefile
3
Makefile
@@ -475,6 +475,7 @@ ifdef LLAMA_BLIS
|
||||
OBJS += ggml-blas.o
|
||||
endif # LLAMA_BLIS
|
||||
|
||||
OBJS += iqk-quantize.o
|
||||
ifndef LLAMA_NO_IQK_MULMAT
|
||||
MK_CPPFLAGS += -DGGML_USE_IQK_MULMAT
|
||||
OBJS += iqk_mul_mat.o
|
||||
@@ -707,6 +708,8 @@ OBJS += ggml-alloc.o ggml-backend.o ggml-quants.o unicode.o unicode-data.o
|
||||
COMMON_H_DEPS = common/common.h common/sampling.h common/log.h llama.h
|
||||
COMMON_DEPS = common.o sampling.o grammar-parser.o build-info.o json-schema-to-grammar.o
|
||||
|
||||
iqk-quantize.o: iqk-quantize.cpp iqk-quantize.h iqk_mul_mat.h ggml-quants.h ggml-common.h ggml.h ggml-impl.h
|
||||
$(CXX) $(CXXFLAGS) -c $< -o $@
|
||||
ifndef LLAMA_NO_IQK_MULMAT
|
||||
iqk_mul_mat.o: iqk_mul_mat.cpp ggml-impl.h ggml.h ggml-quants.h ggml-common.h iqk_mul_mat.h
|
||||
$(CXX) $(CXXFLAGS) -c $< -o $@
|
||||
|
||||
Reference in New Issue
Block a user