summaryrefslogtreecommitdiff
path: root/cmake/llama.pc.in
diff options
context:
space:
mode:
authorAndy Tai <andy-tai@users.noreply.github.com>2024-06-03 01:06:24 -0700
committerGitHub <noreply@github.com>2024-06-03 11:06:24 +0300
commita10cda58d3199cd85305e0f03a8c6056714ae2e8 (patch)
treeda1db17a26b8ff961aa11c810942bd273bc2fae1 /cmake/llama.pc.in
parent6f28a333c1e3fdfdc7b4f9d0367f2b41a9b7e9d4 (diff)
cmake : add pkg-config spec file for llama.cpp (#7702)
Diffstat (limited to 'cmake/llama.pc.in')
-rw-r--r--cmake/llama.pc.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/llama.pc.in b/cmake/llama.pc.in
new file mode 100644
index 00000000..326acbb6
--- /dev/null
+++ b/cmake/llama.pc.in
@@ -0,0 +1,10 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: llama
+Description: Port of Facebook's LLaMA model in C/C++
+Version: @PROJECT_VERSION@
+Libs: -L${libdir} -lllama
+Cflags: -I${includedir}