diff --git a/misc/llama-cpp/Makefile b/misc/llama-cpp/Makefile index 6736e78555b2..59cdf9831dfc 100644 --- a/misc/llama-cpp/Makefile +++ b/misc/llama-cpp/Makefile @@ -1,50 +1,55 @@ PORTNAME= llama-cpp DISTVERSIONPREFIX= b -DISTVERSION= 4381 +DISTVERSION= 4404 CATEGORIES= misc # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= Facebook's LLaMA model in C/C++ # ' WWW= https://github.com/ggerganov/llama.cpp LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv7= clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278810 BROKEN_i386= compilation fails, see https://github.com/ggerganov/llama.cpp/issues/9545 USES= cmake:testing compiler:c++11-lang python:run shebangfix USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= ggerganov GH_PROJECT= llama.cpp GH_TUPLE= nomic-ai:kompute:4565194:kompute/kompute SHEBANG_GLOB= *.py CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= LLAMA_BUILD_TESTS CMAKE_TESTING_ON= LLAMA_BUILD_TESTS -OPTIONS_DEFINE= EXAMPLES VULKAN -OPTIONS_DEFAULT= VULKAN +OPTIONS_DEFINE= CURL EXAMPLES VULKAN +OPTIONS_DEFAULT= CURL VULKAN OPTIONS_SUB= yes +CURL_DESCR= Use libcurl to download model from an URL +CURL_CMAKE_BOOL= LLAMA_CURL +CURL_USES= localbase +CURL_LIB_DEPENDS= libcurl.so:ftp/curl + EXAMPLES_CMAKE_BOOL= LLAMA_BUILD_EXAMPLES VULKAN_DESC= Vulkan GPU offload support VULKAN_CMAKE_BOOL= GGML_VULKAN VULKAN_BUILD_DEPENDS= glslc:graphics/shaderc \ vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader BINARY_ALIAS= git=false 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 -# tests as of 4381: 97% tests passed, 1 tests failed out of 31 +# tests as of 4404: 97% tests passed, 1 tests failed out of 31, see https://github.com/ggerganov/llama.cpp/issues/11036 .include diff --git a/misc/llama-cpp/distinfo b/misc/llama-cpp/distinfo index d9f5b907abca..d85a10abe4e6 100644 --- a/misc/llama-cpp/distinfo +++ b/misc/llama-cpp/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1734927684 -SHA256 (ggerganov-llama.cpp-b4381_GH0.tar.gz) = 9fba75d7add548cd772c8edbccd00c11143e3f2b26155e12f33348a6ad8e695d -SIZE (ggerganov-llama.cpp-b4381_GH0.tar.gz) = 20594961 +TIMESTAMP = 1735768835 +SHA256 (ggerganov-llama.cpp-b4404_GH0.tar.gz) = ec16aa08daa58f804190e446bd010a941057391d66e5627d067f1fc3cc3f87ff +SIZE (ggerganov-llama.cpp-b4404_GH0.tar.gz) = 20604345 SHA256 (nomic-ai-kompute-4565194_GH0.tar.gz) = 95b52d2f0514c5201c7838348a9c3c9e60902ea3c6c9aa862193a212150b2bfc SIZE (nomic-ai-kompute-4565194_GH0.tar.gz) = 13540496