diff --git a/.gear/llama.cpp.spec b/.gear/llama.cpp.spec index 60faa0d46..5b432a343 100644 --- a/.gear/llama.cpp.spec +++ b/.gear/llama.cpp.spec @@ -26,6 +26,7 @@ BuildRequires(pre): rpm-macros-cmake BuildRequires: cmake BuildRequires: ctest BuildRequires: gcc-c++ +BuildRequires: libcurl-devel %description Plain C/C++ implementation (of inference of LLaMA model) without @@ -66,7 +67,9 @@ Overall this is all raw and EXPERIMENTAL, no warranty, no support. %setup %build -%cmake +%cmake \ + -DLLAMA_CURL=ON \ + %nil grep ^LLAMA %_cmake__builddir/CMakeCache.txt | sort | tee build-options.txt %cmake_build find -name '*.py' | xargs sed -i '1s|#!/usr/bin/env python3|#!%__python3|'