Skip to content

Commit c6b118d

Browse files
committed
Fix llama-cpp
1 parent b37a4b6 commit c6b118d

File tree

5 files changed

+20
-1
lines changed

5 files changed

+20
-1
lines changed

ports/llama-cpp/pkgconfig.diff

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/cmake/llama.pc.in b/cmake/llama.pc.in
2+
index 6fb58b5..8a283e7 100644
3+
--- a/cmake/llama.pc.in
4+
+++ b/cmake/llama.pc.in
5+
@@ -6,5 +6,6 @@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
6+
Name: llama
7+
Description: Port of Facebook's LLaMA model in C/C++
8+
Version: @LLAMA_INSTALL_VERSION@
9+
-Libs: -L${libdir} -lggml -lggml-base -lllama
10+
+Requires: ggml
11+
+Libs: -L${libdir} -lllama
12+
Cflags: -I${includedir}

ports/llama-cpp/portfile.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ vcpkg_from_github(
66
HEAD_REF master
77
PATCHES
88
cmake-config.diff
9+
pkgconfig.diff
910
)
1011
file(REMOVE_RECURSE "${SOURCE_PATH}/ggml/include" "${SOURCE_PATH}/ggml/src")
1112

ports/llama-cpp/vcpkg.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "llama-cpp",
33
"version": "6301",
4+
"port-version": 1,
45
"description": "LLM inference in C/C++",
56
"homepage": "https://github.com/ggml-org/llama.cpp",
67
"license": "MIT",

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5854,7 +5854,7 @@
58545854
},
58555855
"llama-cpp": {
58565856
"baseline": "6301",
5857-
"port-version": 0
5857+
"port-version": 1
58585858
},
58595859
"llfio": {
58605860
"baseline": "2025-01-13",

versions/l-/llama-cpp.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "dd2761f6847743834018876cce0a1bfb27e211a8",
5+
"version": "6301",
6+
"port-version": 1
7+
},
38
{
49
"git-tree": "06898246fc975f3be928a416d3b5073f2d9f3b28",
510
"version": "6301",

0 commit comments

Comments
 (0)