Bugzilla – Bug 1223168
dlib: compile time CPU detection
Last modified: 2024-04-22 07:26:03 UTC
While working on reproducible builds for openSUSE, I found that our dlib package build results depend on the build machine's CPU capabilities. This is likely related to this buildroot diff: dlib-19.24.4/build/temp.linux-x86_64-cpython-311/CMakeCache.txt @@ -474,7 +474,7 @@ PYTHON_LIBRARY:FILEPATH=/usr/lib64/libpython3.11.so //Compile your program with AVX instructions -USE_AVX_INSTRUCTIONS:BOOL=ON +USE_AVX_INSTRUCTIONS:BOOL=OFF Please ensure AVX is used consistently - never or always.
Appreciate the report. Fix on its way: https://build.opensuse.org/request/show/1169495
Fix was accepted into devel project and is on its way to Factory. Thanks Bernhard for checking that the fix works. Marking as resolved.