diff --git a/misc/koboldcpp/Makefile b/misc/koboldcpp/Makefile index 1f5c9ab3c96d..bdf588f4ff74 100644 --- a/misc/koboldcpp/Makefile +++ b/misc/koboldcpp/Makefile @@ -1,50 +1,54 @@ PORTNAME= koboldcpp DISTVERSIONPREFIX= v -DISTVERSION= 1.78 +DISTVERSION= 1.80.1 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= Simple way to run GGML and GGUF AI models with a KoboldAI WebUI WWW= https://github.com/lostruins/koboldcpp LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md BROKEN_armv7= compilation fails, see https://github.com/LostRuins/koboldcpp/issues/1129 BROKEN_i386= compilation fails, see https://github.com/LostRuins/koboldcpp/issues/1129 LIB_DEPENDS= libopenblas.so:math/openblas \ libvulkan.so:graphics/vulkan-loader RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}customtkinter>0:x11-toolkits/py-customtkinter@${PY_FLAVOR} USES= compiler:c++11-lang gmake localbase:ldflags python shebangfix USE_GITHUB= yes GH_ACCOUNT= LostRuins SHEBANG_FILES= koboldcpp.py MAKE_ARGS= LLAMA_OPENBLAS=1 LLAMA_VULKAN=1 LLAMA_PORTABLE=1 LDFLAGS="${LDFLAGS}" ALL_TARGET= +.if defined(WITH_DEBUG) +MAKE_ARGS+= KCPP_DEBUG=1 +.endif + do-install: # dir ${MKDIR} ${STAGEDIR}${DATADIR} # prog ${INSTALL_DATA} ${WRKSRC}/koboldcpp.py ${STAGEDIR}${DATADIR}/koboldcpp.py ${CHMOD} +x ${STAGEDIR}${DATADIR}/koboldcpp.py ${RLN} ${STAGEDIR}${DATADIR}/koboldcpp.py ${STAGEDIR}${PREFIX}/bin/koboldcpp # libraries .for lib in koboldcpp_default.so koboldcpp_failsafe.so koboldcpp_noavx2.so \ koboldcpp_vulkan.so koboldcpp_vulkan_noavx2.so ${INSTALL_LIB} ${WRKSRC}/${lib} ${STAGEDIR}${DATADIR} .endfor # embd files .for embd in klite.embd kcpp_docs.embd rwkv_vocab.embd rwkv_world_vocab.embd \ kcpp_sdui.embd taesd.embd taesd_xl.embd ${INSTALL_DATA} ${WRKSRC}/${embd} ${STAGEDIR}${DATADIR} .endfor .include diff --git a/misc/koboldcpp/distinfo b/misc/koboldcpp/distinfo index cdf65c279d70..8fd7181f680e 100644 --- a/misc/koboldcpp/distinfo +++ b/misc/koboldcpp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1731747379 -SHA256 (LostRuins-koboldcpp-v1.78_GH0.tar.gz) = 8c206311ae2ca21ec4575e9939e2fc0f1de9e82a795d2953c08b4dd4017a2113 -SIZE (LostRuins-koboldcpp-v1.78_GH0.tar.gz) = 24223896 +TIMESTAMP = 1734856109 +SHA256 (LostRuins-koboldcpp-v1.80.1_GH0.tar.gz) = a43dfe052860f4b09004511cce7d26b05d68dd2fb866ad23471d61f5f49d9acc +SIZE (LostRuins-koboldcpp-v1.80.1_GH0.tar.gz) = 29133623