From 9f102b9db6be54e76d61217a1008cd420607d9f2 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Wed, 13 Mar 2024 21:53:52 +0800 Subject: [PATCH] update makefile --- Makefile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 9c24acbd0be6f..dea7d97a0386b 100644 --- a/Makefile +++ b/Makefile @@ -381,31 +381,31 @@ $(info ) # Build library # -ggml.o: ggml.c ggml.h ggml-cuda.h +ggml.o: ggml.c ggml.h ggml-cuda.h ggml-common.h $(CC) $(FASTCFLAGS) $(FULLCFLAGS) -c $< -o $@ -ggml_v4_openblas.o: ggml.c ggml.h ggml-cuda.h +ggml_v4_openblas.o: ggml.c ggml.h ggml-cuda.h ggml-common.h $(CC) $(FASTCFLAGS) $(FULLCFLAGS) $(OPENBLAS_FLAGS) -c $< -o $@ -ggml_v4_failsafe.o: ggml.c ggml.h ggml-cuda.h +ggml_v4_failsafe.o: ggml.c ggml.h ggml-cuda.h ggml-common.h $(CC) $(FASTCFLAGS) $(NONECFLAGS) -c $< -o $@ -ggml_v4_noavx2.o: ggml.c ggml.h ggml-cuda.h +ggml_v4_noavx2.o: ggml.c ggml.h ggml-cuda.h ggml-common.h $(CC) $(FASTCFLAGS) $(SIMPLECFLAGS) -c $< -o $@ -ggml_v4_clblast.o: ggml.c ggml.h ggml-cuda.h +ggml_v4_clblast.o: ggml.c ggml.h ggml-cuda.h ggml-common.h $(CC) $(FASTCFLAGS) $(FULLCFLAGS) $(CLBLAST_FLAGS) -c $< -o $@ -ggml_v4_cublas.o: ggml.c ggml.h ggml-cuda.h +ggml_v4_cublas.o: ggml.c ggml.h ggml-cuda.h ggml-common.h $(CC) $(FASTCFLAGS) $(FULLCFLAGS) $(CUBLAS_FLAGS) $(HIPFLAGS) -c $< -o $@ -ggml_v4_clblast_noavx2.o: ggml.c ggml.h ggml-cuda.h +ggml_v4_clblast_noavx2.o: ggml.c ggml.h ggml-cuda.h ggml-common.h $(CC) $(FASTCFLAGS) $(SIMPLECFLAGS) $(CLBLAST_FLAGS) -c $< -o $@ -ggml_v4_vulkan.o: ggml.c ggml.h ggml-cuda.h +ggml_v4_vulkan.o: ggml.c ggml.h ggml-cuda.h ggml-common.h $(CC) $(FASTCFLAGS) $(FULLCFLAGS) $(VULKAN_FLAGS) -c $< -o $@ -ggml_v4_vulkan_noavx2.o: ggml.c ggml.h ggml-cuda.h +ggml_v4_vulkan_noavx2.o: ggml.c ggml.h ggml-cuda.h ggml-common.h $(CC) $(FASTCFLAGS) $(SIMPLECFLAGS) $(VULKAN_FLAGS) -c $< -o $@ #quants -ggml-quants.o: ggml-quants.c ggml.h ggml-quants.h ggml-cuda.h +ggml-quants.o: ggml-quants.c ggml.h ggml-quants.h ggml-cuda.h ggml-common.h $(CC) $(CFLAGS) $(FULLCFLAGS) -c $< -o $@ -ggml-quants_noavx2.o: ggml-quants.c ggml.h ggml-quants.h ggml-cuda.h +ggml-quants_noavx2.o: ggml-quants.c ggml.h ggml-quants.h ggml-cuda.h ggml-common.h $(CC) $(CFLAGS) $(SIMPLECFLAGS) -c $< -o $@ -ggml-quants_failsafe.o: ggml-quants.c ggml.h ggml-quants.h ggml-cuda.h +ggml-quants_failsafe.o: ggml-quants.c ggml.h ggml-quants.h ggml-cuda.h ggml-common.h $(CC) $(CFLAGS) $(NONECFLAGS) -c $< -o $@