3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

4 commits

Author SHA1 Message Date
Maximilian Bosch 72ec538d2c
python3Packages.dlib: fix build
The CMake configuring is done in the `setup.py` and doesn't need to be
done by the setup hook. This broke the build as the setup-hook switches
into `source/build` which doesn't have a `setup.py`.

Relying on the setup script from upstream fixes the issue.

ZHF #68361
2019-09-14 13:42:06 +02:00
Maximilian Bosch 311516f55e
dlib: 19.16 -> 19.17
https://github.com/davisking/dlib/releases/tag/v19.17

Also had to change the expression for setup.py flags as 19.17 doesn't
support `--yes` anymore.
2019-08-22 20:53:41 +02:00
Maximilian Bosch 9732c44225
dlib: add flag to disable AVX support
Especially older hardware doesn't support AVX instructions. DLib is
still functional there, but significantly slower[1].

By setting `avxInstructions` to false, DLib will be compiled without
this feature.

[1] http://dlib.net/compile.html
2019-03-03 15:35:58 +01:00
Maximilian Bosch b7bc6e7f6c
pythonPackages.dlib: move expression
Initially the expression was quite small (just inherited properties from
`pkgs.dlib`), but the more it grows the better it is to store it into
its own file.
2018-10-29 18:57:19 +01:00