mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-26 11:24:35 +00:00
Move main.cpp to run.cpp
Signed-off-by: Thiago Padilha <thiago@padilha.cc>
This commit is contained in:
parent
69c92298a9
commit
90175ee13f
@ -239,7 +239,7 @@ target_link_libraries(llama PRIVATE utils ggml ${LLAMA_EXTRA_LIBS})
|
||||
# Executables
|
||||
#
|
||||
|
||||
add_executable(main main.cpp)
|
||||
add_executable(main run.cpp)
|
||||
target_link_libraries(main PRIVATE llama ggml utils)
|
||||
|
||||
add_executable(quantize quantize.cpp)
|
||||
|
4
Makefile
4
Makefile
@ -229,8 +229,8 @@ utils.o: utils.cpp utils.h
|
||||
clean:
|
||||
rm -f *.o main quantize
|
||||
|
||||
main: main.cpp ggml.o llama.o utils.o
|
||||
$(CXX) $(CXXFLAGS) main.cpp ggml.o llama.o utils.o -o main $(LDFLAGS)
|
||||
main: run.cpp ggml.o llama.o utils.o
|
||||
$(CXX) $(CXXFLAGS) run.cpp ggml.o llama.o utils.o -o main $(LDFLAGS)
|
||||
@echo "\x1b[36mrun ./main -h for help\x1b[0m"
|
||||
|
||||
quantize: quantize.cpp ggml.o llama.o utils.o
|
||||
|
Loading…
Reference in New Issue
Block a user