From 9dad8b81e1219da954a97e5ddfd62127ffbb2e66 Mon Sep 17 00:00:00 2001 From: pudepiedj Date: Thu, 5 Oct 2023 12:23:49 +0100 Subject: [PATCH] Update cmap-example --- Makefile | 3 +++ examples/CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 91198c555..8d37947a5 100644 --- a/Makefile +++ b/Makefile @@ -564,6 +564,9 @@ perplexity: examples/perplexity/perplexity.cpp build-info.h ggml. embedding: examples/embedding/embedding.cpp build-info.h ggml.o llama.o common.o $(OBJS) $(CXX) $(CXXFLAGS) $(filter-out %.h,$^) -o $@ $(LDFLAGS) +cmap-example: examples/cmap-example/cmap-example.cpp build-info.h ggml.o llama.o common.o $(OBJS) + $(CXX) $(CXXFLAGS) $(filter-out %.h,$^) -o $@ $(LDFLAGS) + save-load-state: examples/save-load-state/save-load-state.cpp build-info.h ggml.o llama.o common.o $(OBJS) $(CXX) $(CXXFLAGS) $(filter-out %.h,$^) -o $@ $(LDFLAGS) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 9b39b3fa9..b32706b03 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -30,7 +30,7 @@ else() add_subdirectory(embd-input) add_subdirectory(llama-bench) add_subdirectory(beam-search) - add_subdirectory(cmap-examples) + add_subdirectory(cmap-example) if (LLAMA_METAL) add_subdirectory(metal) endif()