diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2025-04-11 07:47:00 -0700 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2025-04-11 11:45:18 -0700 |
| commit | 5c2d0ddc86a018dc636643678eb2a78f732915e6 (patch) | |
| tree | 50eed7eeb645e2ed8900e04070dcc6a08a018252 /misc/llama-cpp | |
| parent | misc/py-openai: update 1.70.0 → 1.72.0 (diff) | |
misc/llama-cpp: Fix version printout
Diffstat (limited to 'misc/llama-cpp')
| -rw-r--r-- | misc/llama-cpp/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/llama-cpp/Makefile b/misc/llama-cpp/Makefile index 96a6522e97ae..400276f95a9e 100644 --- a/misc/llama-cpp/Makefile +++ b/misc/llama-cpp/Makefile @@ -1,6 +1,7 @@ PORTNAME= llama-cpp DISTVERSIONPREFIX= b DISTVERSION= 5106 +PORTREVISION= 1 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org @@ -53,6 +54,11 @@ VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader BINARY_ALIAS= git=false \ python=${PYTHON_CMD} # for tests +post-patch: # set version in the code + @${REINPLACE_CMD} \ + -e "s|set(BUILD_NUMBER 0)|set(BUILD_NUMBER ${DISTVERSION})|" \ + ${WRKSRC}/cmake/build-info.cmake + do-test-ci: # build of tests fails, see https://github.com/ggerganov/llama.cpp/issues/10955 @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} bash ci/run.sh ./tmp/results ./tmp/mnt |
