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!
| 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) |
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!
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.
Hello!
I have to change variable "md5" to "md5sums" and add _pkgname=dlib in order to be able to compile it.
Pinned Comments
petronny commented on 2024-03-30 13:11 (UTC) (edited on 2024-03-30 13:13 (UTC) by petronny)
Set
_build_cpuand_build_cudato 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.