]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
Fix development package
authorMathieu Baudier <redacted>
Sun, 23 Feb 2025 14:02:03 +0000 (15:02 +0100)
committerMathieu Baudier <redacted>
Sun, 23 Feb 2025 14:16:11 +0000 (15:16 +0100)
debian/control
debian/ggml-dev.install
debian/rules

index 5dfde6d096797658a50a4c6a531e261fafbcef1e..a5455a50dbb93b4d00e892a82304cb55415dd7df 100644 (file)
@@ -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.
index 8c3bfceb1c67fba681cb51bf8b7f7f84f6cdd7d2..4e97f18b50d1687a310c63f6a8ed0aeecaf60533 100644 (file)
@@ -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/
index 9780dcaf1778df341683b93a874694495eeaa9e5..535ede94a8146381296ec3da41ee67f8cb7729c3 100755 (executable)
@@ -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