]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
Rename backend packages
authorMathieu Baudier <redacted>
Mon, 23 Jun 2025 09:56:19 +0000 (11:56 +0200)
committerMathieu Baudier <redacted>
Mon, 23 Jun 2025 10:39:54 +0000 (12:39 +0200)
debian/control
debian/libggml-backend-blas.install [new file with mode: 0644]
debian/libggml-backend-cpu.install [new file with mode: 0644]
debian/libggml-backend-rpc.install [new file with mode: 0644]
debian/libggml-backend-vulkan.install [new file with mode: 0644]
debian/libggml-blas.install [deleted file]
debian/libggml-cpu.install [deleted file]
debian/libggml-rpc.install [deleted file]
debian/libggml-vulkan.install [deleted file]

index a5455a50dbb93b4d00e892a82304cb55415dd7df..3b90196c8338b6f3e40aebdc11375ed8b15afd6b 100644 (file)
@@ -15,7 +15,7 @@ Rules-Requires-Root: binary-targets
 Package: ggml
 Architecture: any
 Depends: ${misc:Depends},
- libggml0, libggml-cpu
+ libggml0, libggml-backend-cpu
 Description: Tensor library for machine learning (metapackage)
  ggml is a pure C/C++ library implementing tensor computations
  used by neural networks. It is the basis for llama.cpp (large language models)
@@ -32,6 +32,8 @@ Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends}
+# Explicitly conflicts with Debian official
+Conflicts: libggml-base
 Description: Tensor library for machine learning (base)
  The ggml base library provides the backend-independent API
  upon which specialized libraries or applications can be built.
@@ -43,17 +45,21 @@ Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends},
  libggml-base0
+# Explicitly conflicts with Debian official
+Conflicts: libggml
 Description: Tensor library for machine learning (loader)
  The ggml library is a thin high-level layer mostly
  responsible for loading the various ggml backends,
  and connect them to the API provided by the ggml base library.
 
-Package: libggml-cpu
+Package: libggml-backend-cpu
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends},
  libggml0
+# Explicitly conflicts with Debian official
+Conflicts: libggml-cpu
 Description: Tensor library for machine learning (CPU backend)
  The ggml CPU backend provides computations based solely
  on plain CPU, without software or hardware acceleration.
@@ -63,7 +69,7 @@ Description: Tensor library for machine learning (CPU backend)
  allowing one to run computations on older CPU while still benefiting from
  the capabilities of recent ones.
 
-Package: libggml-blas
+Package: libggml-backend-blas
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -71,11 +77,13 @@ Depends: ${misc:Depends}, ${shlibs:Depends},
  libggml0,
 # GGML shows warning that it uses OpenMP if default OpenBLAS (pthread) is used.
  libopenblas0-openmp, libopenblas64-0-openmp [amd64 arm64],
+# Explicitly conflicts with Debian official
+Conflicts: libggml-blas
 Description: Tensor library for machine learning (OpenBLAS backend)
  The ggml BLAS backend provides software acceleration of the computations
  based on OpenBLAS.
 
-Package: libggml-rpc
+Package: libggml-backend-rpc
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Depends}, ${misc:Pre-Depends}
@@ -85,10 +93,12 @@ Description: Tensor library for machine learning (RPC backend)
  The ggml RPC backend allows one to distribute computations over
  the network on remote ggml backends.
 
-Package: libggml-vulkan
+Package: libggml-backend-vulkan
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
+# Explicitly conflicts with Debian official
+Conflicts: libggml-vulkan
 Depends: ${misc:Depends}, ${shlibs:Depends},
  libggml0,
  libvulkan1
diff --git a/debian/libggml-backend-blas.install b/debian/libggml-backend-blas.install
new file mode 100644 (file)
index 0000000..985f7e7
--- /dev/null
@@ -0,0 +1 @@
+/usr/libexec/*/ggml/libggml-blas.so
diff --git a/debian/libggml-backend-cpu.install b/debian/libggml-backend-cpu.install
new file mode 100644 (file)
index 0000000..277c440
--- /dev/null
@@ -0,0 +1 @@
+/usr/libexec/*/ggml/libggml-cpu*.so
diff --git a/debian/libggml-backend-rpc.install b/debian/libggml-backend-rpc.install
new file mode 100644 (file)
index 0000000..ad63249
--- /dev/null
@@ -0,0 +1 @@
+/usr/libexec/*/ggml/libggml-rpc.so
diff --git a/debian/libggml-backend-vulkan.install b/debian/libggml-backend-vulkan.install
new file mode 100644 (file)
index 0000000..cbdccf6
--- /dev/null
@@ -0,0 +1 @@
+/usr/libexec/*/ggml/libggml-vulkan.so
diff --git a/debian/libggml-blas.install b/debian/libggml-blas.install
deleted file mode 100644 (file)
index 985f7e7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/usr/libexec/*/ggml/libggml-blas.so
diff --git a/debian/libggml-cpu.install b/debian/libggml-cpu.install
deleted file mode 100644 (file)
index 277c440..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/usr/libexec/*/ggml/libggml-cpu*.so
diff --git a/debian/libggml-rpc.install b/debian/libggml-rpc.install
deleted file mode 100644 (file)
index ad63249..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/usr/libexec/*/ggml/libggml-rpc.so
diff --git a/debian/libggml-vulkan.install b/debian/libggml-vulkan.install
deleted file mode 100644 (file)
index cbdccf6..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/usr/libexec/*/ggml/libggml-vulkan.so