Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test windows #107

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ else()
set(CMAKE_CXX_STANDARD 14)
endif()

# llama cpp server need llava example to work, this is for llama cpp server
set(LLAMA_BUILD_EXAMPLES ON)

set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(OPENSSL_USE_STATIC_LIBS TRUE)
Expand All @@ -38,7 +41,7 @@ if(DEBUG)
add_compile_definitions(ALLOW_ALL_CORS)
endif()

add_subdirectory(llama.cpp)
add_subdirectory(test.cpp)
add_executable(${PROJECT_NAME} main.cc)

# ##############################################################################
Expand All @@ -48,7 +51,7 @@ add_executable(${PROJECT_NAME} main.cc)
#
# and comment out the following lines
find_package(Drogon CONFIG REQUIRED)
target_link_libraries(${PROJECT_NAME} PRIVATE Drogon::Drogon common llama
target_link_libraries(${PROJECT_NAME} PRIVATE Drogon::Drogon common llama clip
${CMAKE_THREAD_LIBS_INIT})

# ##############################################################################
Expand Down
Loading
Loading