Package Base Details: dlib

Git Clone URL: (read-only, click to copy)
Keywords: convolutional deep dlib learning machine networks neural
Submitter: pingplug
Maintainer: pingplug (swiftscythe)
Last Packager: swiftscythe
Votes: 32
Popularity: 0.090077
First Submitted: 2015-08-19 09:02
Last Updated: 2020-11-07 02:37

Packages (2)

Latest Comments

1 2 3 Next › Last »

swiftscythe commented on 2020-11-07 02:25

@xantares done

xantares commented on 2020-11-05 12:10

also your package does not honor makepkg's MAKEFLAGS variable, and ninja by default uses N+2 threads, this exhausts my memory can you pass MAKEFLAGS to ninja ? or else regular makefiles are fine also

swiftscythe commented on 2020-11-02 01:28

@xantares, sure I will update it. However I did it because openblas is faster, so I was thought people want to use that instead of complaining on GitHub why it's slow (as I've seen many times). But I guess that's not for me to decide.

xantares commented on 2020-10-28 10:29


setting openblas as as dependency instead of the blas virtual package

means that we can no longer decide whether to use openblas or the regular blas

it also leads to conflicts

would you reconsider that choice ?

swiftscythe commented on 2020-09-02 08:56

Would you be willing to add a split package (in the same fashion as pytorch or tensorflow) that builds dlib-cpu and dlib-cuda?

I could do it if you wanted me to :)

harbind commented on 2020-04-06 11:14

I was coming here to suggest to change the source to the official site, but noticed that someone already did that. That sourceforge is slow at its best, quite often you get nothing out from it.

I can also verify that this package compiles and works fine on both armv7h and aarch64, if you want to update the arch array.

sandsmark commented on 2020-04-04 14:39

Another request: sourceforge is extremely slow (at least here), could you switch to either the official site ( or github?

official is pretty straightforward, it's the same tarball:


Github only has tar.gz as far as I know, so it needs a different sha256sum:


sandsmark commented on 2019-08-07 16:25

Would be nice to install imglab as well. Not sure if this is the best solution, but it works:

edit: putting it inline, in case becomes unavailable:

index 378f43b..55ba9ce 100644
@@ -23,20 +23,31 @@ sha256sums=('24772f9b2b99cf59a85fd1243ca1327cbf7340d83395b32a6c16a3a16136327b')

 build() {
   cd "${srcdir}"
-  mkdir -p build && cd build
-  cmake \
+  export CMAKE_ARGS="
     -DCUDA_HOST_COMPILER='/opt/cuda/bin/gcc' \
     -DCMAKE_BUILD_TYPE=Release \
-    "../${pkgname}-${pkgver}"
+  "
   if [[ -f "/usr/lib/ccache/bin/nvcc-ccache" ]] ; then
-    cmake \
+    CMAKE_ARGS+=" \
       -DCUDA_NVCC_EXECUTABLE=/usr/lib/ccache/bin/nvcc-ccache \
       -DCUDA_HOST_COMPILER=/usr/lib/ccache/bin/gcc \
-      "../${pkgname}-${pkgver}"
+      "
+  mkdir -p build && cd build
+  cmake \
+    ${CMAKE_ARGS} \
+    "../${pkgname}-${pkgver}"
+  make
+  cd "${srcdir}"
+  mkdir -p build-imglab && cd build-imglab
+  cmake \
+    ${CMAKE_ARGS} \
+    "../${pkgname}-${pkgver}/tools/imglab"

@@ -44,6 +55,9 @@ package() {
   cd "${srcdir}/build"
   make DESTDIR=${pkgdir} install
   install -Dm644 "../${pkgname}-${pkgver}/dlib/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  cd "${srcdir}/build-imglab"
+  make DESTDIR=${pkgdir} install

 # vim:set ts=2 sw=2 et:

xantares commented on 2019-04-25 09:36


you have to replace blas by cblas in depends

pingplug commented on 2019-04-25 09:10


report empty dir issue (also missing cmake files) to upstream