diff --git a/.gear/llama.cpp.spec b/.gear/llama.cpp.spec index 5b432a343..fe52f5fa5 100644 --- a/.gear/llama.cpp.spec +++ b/.gear/llama.cpp.spec @@ -27,6 +27,7 @@ BuildRequires: cmake BuildRequires: ctest BuildRequires: gcc-c++ BuildRequires: libcurl-devel +BuildRequires: libopenblas-devel %description Plain C/C++ implementation (of inference of LLaMA model) without @@ -65,9 +66,12 @@ Overall this is all raw and EXPERIMENTAL, no warranty, no support. %prep %setup +sed -i '/BLA_SIZEOF_INTEGER/s/8/ANY/' CMakeLists.txt %build %cmake \ + -DLLAMA_BLAS=ON \ + -DLLAMA_BLAS_VENDOR=OpenBLAS \ -DLLAMA_CURL=ON \ %nil grep ^LLAMA %_cmake__builddir/CMakeCache.txt | sort | tee build-options.txt