From: Mathieu Baudier Date: Sun, 23 Feb 2025 14:02:03 +0000 (+0100) Subject: Fix development package X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=c45bb20fbd6e29568b682921eb04346b470f2ce0;p=pkg%2Fggml%2Fsources%2Fggml Fix development package --- diff --git a/debian/control b/debian/control index 5dfde6d0..a5455a50 100644 --- a/debian/control +++ b/debian/control @@ -101,7 +101,7 @@ Package: ggml-dev Architecture: any Section: libdevel Depends: ${misc:Depends}, - libggml0 (= ${binary:Version}), libggml-base0 (= ${binary:Version}) + libggml0 (= ${binary:Version}), libggml-base0 (= ${binary:Version}), Description: Tensor library for machine learning (development files) This developments package provides the files required to build software based on ggml. diff --git a/debian/ggml-dev.install b/debian/ggml-dev.install index 8c3bfceb..4e97f18b 100644 --- a/debian/ggml-dev.install +++ b/debian/ggml-dev.install @@ -5,7 +5,5 @@ # Symbolic links /usr/lib/*/libggml.so /usr/lib/*/libggml-base.so -# portable CPU backend -/usr/libexec/*/ggml/libggml-cpu.so include/ggml-cpp.h usr/include/ diff --git a/debian/rules b/debian/rules index 9780dcaf..535ede94 100755 --- a/debian/rules +++ b/debian/rules @@ -69,10 +69,6 @@ override_dh_auto_install: #patchelf --set-soname $$(basename "$$file") $$file; \ install -t $(install_libexec_multiarch)/ggml $$file; \ done - - # Provide a symbolic link to the most portable CPU backend - # so that it can be used for builds (e.g. whisper.cpp build requires a CPU backend) - ln -s --relative $(install_libexec_multiarch)/ggml/libggml-cpu-sandybridge.so $(install_libexec_multiarch)/ggml/libggml-cpu.so override_dh_installexamples: dh_installexamples --exclude=.gitignore