Package Details: python-dlib-cuda 20.0-1

Git Clone URL: https://aur.archlinux.org/python-dlib.git (read-only, click to copy)
Package Base: python-dlib
Description: Dlib is a general purpose cross-platform C++ library designed using contract programming and modern C++ techniques.
Upstream URL: http://www.dlib.net/
Licenses: boost
Conflicts: python-dlib
Provides: python-dlib
Submitter: u1bmoW1r16
Maintainer: petronny (AutoUpdateBot)
Last Packager: petronny
Votes: 15
Popularity: 0.000185
First Submitted: 2016-10-27 15:05 (UTC)
Last Updated: 2025-05-30 11:54 (UTC)

Required by (6)

Sources (1)

Pinned Comments

petronny commented on 2024-03-30 13:11 (UTC) (edited on 2024-03-30 13:13 (UTC) by petronny)

Set _build_cpu and _build_cuda to 1 and 0 to build or not build the CPU or CUDA version.

If options=(!lto) has no effect, please check if it's still enabled in /etc/makepkg.conf.

petronny commented on 2023-11-28 04:57 (UTC)

Prebuilt binaries of this package can be found in arch4edu.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7

agradzki commented on 2018-03-12 13:49 (UTC)

AbysmalBiscuit,

I have disowned this package as I do not have an Arch Linux system to test this on right now.

Thanks for posting the fixes!

AbysmalBiscuit commented on 2018-03-12 11:38 (UTC) (edited on 2018-03-12 11:41 (UTC) by AbysmalBiscuit)

Hey,

TLDR: Fixed and improved PKGBUILD updated to the latest version (19.9) is available here: https://pastebin.com/NufcQpRj

There are other issues besides those pointed out by Karmadon.

First, the environment variables that indicate the compiler that CUDA needs are not set before building the Python3 version, hence the Python3 package has no CUDA support.

Second, there is no need to specify the CUDA include and library directories as they get auto detected.

Third, no SSE optimizations are set, as compared with the 'dlib' package also available in the AUR.

Fourth, compiling times for Python3 can be improved somewhat via the use of multiple proceses (although this isn't that much of an issue).

I have fixed and improved the PKGBUILD file, which can be downloaded from the pastebin link in the TLDR.

Karmadon commented on 2018-01-20 16:26 (UTC)

Hello!

I have to change variable "md5" to "md5sums" and add _pkgname=dlib in order to be able to compile it.

agradzki commented on 2017-11-17 14:24 (UTC) (edited on 2017-11-17 14:24 (UTC) by agradzki)

You can use the changes in my PKGBUILD to update this package. https://aur.archlinux.org/packages/python-dlib-cuda/ https://aur.archlinux.org/packages/python2-dlib-cuda/

xsmile commented on 2016-12-18 18:56 (UTC)

I would like to request a package for python2. Something like this PKGBUILD could be used: http://hastebin.com/huyiwehiza.bash