Commit 20207e1 1 parent 2acdc8b commit 20207e1 Copy full SHA for 20207e1
File tree 4 files changed +745
-681
lines changed
4 files changed +745
-681
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ add_library(hw_grpc_proto
70
70
${hw_proto_srcs}
71
71
${hw_proto_hdrs} )
72
72
73
- add_executable (${TARGET} grpc-server.cpp json .hpp )
73
+ add_executable (${TARGET} grpc-server.cpp utils .hpp json.hpp )
74
74
target_link_libraries (${TARGET} PRIVATE common llama myclip ${CMAKE_THREAD_LIBS_INIT} absl::flags hw_grpc_proto
75
75
absl::flags_parse
76
76
gRPC::${_REFLECTION}
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ llama.cpp/examples/grpc-server:
40
40
cp -r $(abspath ./) /CMakeLists.txt llama.cpp/examples/grpc-server/
41
41
cp -r $(abspath ./) /grpc-server.cpp llama.cpp/examples/grpc-server/
42
42
cp -rfv $(abspath ./) /json.hpp llama.cpp/examples/grpc-server/
43
+ cp -rfv $(abspath ./) /utils.hpp llama.cpp/examples/grpc-server/
43
44
echo " add_subdirectory(grpc-server)" >> llama.cpp/examples/CMakeLists.txt
44
45
# # XXX: In some versions of CMake clip wasn't being built before llama.
45
46
# # This is an hack for now, but it should be fixed in the future.
You can’t perform that action at this time.
0 commit comments