summaryrefslogtreecommitdiff
path: root/llama.cpp.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-11-06 04:34:39 +0000
committerCoprDistGit <infra@openeuler.org>2024-11-06 04:34:39 +0000
commit2c3c951587e564c463ebbc4760b81ec4b4544c2e (patch)
tree5490a4e9a0ecd2635931c7f3a0e5716a3e75e7da /llama.cpp.spec
parentb230ef617c4bf04ba95a63a0ff5a6ad362e83f67 (diff)
automatic import of llama.cpp
Diffstat (limited to 'llama.cpp.spec')
-rw-r--r--llama.cpp.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/llama.cpp.spec b/llama.cpp.spec
index 2c43e39..7c77318 100644
--- a/llama.cpp.spec
+++ b/llama.cpp.spec
@@ -30,15 +30,17 @@ popd
%install
pushd llama_builddir
%make_install
-mv %{buildroot}%{_prefix}/local/bin/main %{buildroot}%{_prefix}/local/bin/llama_cpp_main
-mv %{buildroot}%{_prefix}/local/bin/convert-hf-to-gguf.py %{buildroot}%{_prefix}/local/bin/llama_convert-hf-to-gguf.py
+#mv %{buildroot}%{_prefix}/local/bin/main %{buildroot}%{_prefix}/local/bin/llama_cpp_main
+mv %{buildroot}%{_prefix}/local/bin/convert_hf_to_gguf.py %{buildroot}%{_prefix}/local/bin/llama_convert_hf_to_gguf.py
mv %{buildroot}%{_prefix}/local/* %{buildroot}%{_prefix}
+mv %{buildroot}%{_prefix}/lib/pkgconfig/llama.pc %{buildroot}%{_prefix}
popd
%files
%{_bindir}/*
%{_includedir}/*
%{_libdir}/*
+%{_prefix}/llama.pc
%changelog
* Wed Aug 28 2024 zhoupengcheng <zhoupengcheng11@huawei.com> - 20240531-2