diff options
author | bhubbb <79117352+bhubbb@users.noreply.github.com> | 2023-04-08 02:11:58 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 19:11:58 +0300 |
commit | 698f7b5d6316a1f8453b3b32fd0d637d24952ffd (patch) | |
tree | c5dc0b56c407dada2755ea1af8078774df228be9 | |
parent | c1950c343109ab1fd15fc2ae1c83650c85d4eeef (diff) |
make : add libllama.so target for llama-cpp-python (#797)
I was able to get llama-cpp-python working but only when I build libllama.so with make.
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -166,6 +166,8 @@ perplexity: examples/perplexity/perplexity.cpp ggml.o llama.o common.o embedding: examples/embedding/embedding.cpp ggml.o llama.o common.o $(CXX) $(CXXFLAGS) examples/embedding/embedding.cpp ggml.o llama.o common.o -o embedding $(LDFLAGS) +libllama.so: llama.o ggml.o + $(CXX) $(CXXFLAGS) -shared -fPIC -o libllama.so llama.o ggml.o $(LDFLAGS) # # Tests # |