Skip to content
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
4 changes: 2 additions & 2 deletions .llama-cpp-version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# llama.cpp version for integration tests
# Last updated: 2026-03-16
# Last updated: 2026-03-31
# Format: git commit hash or tag
b8369
b8589
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ project(liblloyal VERSION 0.1.0 LANGUAGES CXX)
# specifiers.
#
# Dependencies:
# - llama.cpp (b8369 or compatible)
# - llama.cpp (b8589 or compatible)
# - C++20 compiler
#
# Usage:
Expand Down Expand Up @@ -178,19 +178,19 @@ endif()
# Version Check for llama.cpp
# =============================================================================

# liblloyal is tested against llama.cpp b8369
# liblloyal is tested against llama.cpp b8589
# This is a soft check - we warn but don't fail the build
if(DEFINED LLAMA_CPP_VERSION)
if(NOT LLAMA_CPP_VERSION STREQUAL "b8369")
if(NOT LLAMA_CPP_VERSION STREQUAL "b8589")
message(WARNING
"liblloyal: Designed for llama.cpp b8369, found ${LLAMA_CPP_VERSION}. "
"liblloyal: Designed for llama.cpp b8589, found ${LLAMA_CPP_VERSION}. "
"API compatibility not guaranteed.")
else()
message(STATUS "liblloyal: Using recommended llama.cpp version b8369")
message(STATUS "liblloyal: Using recommended llama.cpp version b8589")
endif()
else()
message(STATUS
"liblloyal: LLAMA_CPP_VERSION not set. Recommended: b8369. "
"liblloyal: LLAMA_CPP_VERSION not set. Recommended: b8589. "
"Define LLAMA_CPP_VERSION in your llama.cpp CMakeLists to enable version check.")
endif()

Expand Down
Loading