Merge pull request #298967 from vbgl/ocaml-5.2.0
[NixPkgs.git] / doc / packages / dlib.section.md
blobbd5b1a20a4d46f87584c465104d96b3131a061fe
1 # DLib {#dlib}
3 [DLib](http://dlib.net/) is a modern, C++\-based toolkit which provides several machine learning algorithms.
5 ## Compiling without AVX support {#compiling-without-avx-support}
7 Especially older CPUs don't support [AVX](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions) (Advanced Vector Extensions) instructions that are used by DLib to optimize their algorithms.
9 On the affected hardware errors like `Illegal instruction` will occur. In those cases AVX support needs to be disabled:
11 ```nix
12 self: super: { dlib = super.dlib.override { avxSupport = false; }; }
13 ```