On Wed, Jul 22, 2026 at 10:45:37AM +0200, Jakob Haufe wrote:
> From the build log for 1:2.4.6+ds-2:
> 
> Configuring npy_cpu_dispatch_config.h using configuration
> Message: 
> CPU Optimization Options
>   baseline:
>     Requested : min
>     Enabled   : X86_V2
>   dispatch:
>     Requested : max
>     Enabled   : X86_V3 X86_V4 AVX512_ICL AVX512_SPR
> 
> 
> So AIUI, it intends to do exactly that, but somehow fails.

min defaults to X86_V2 as of version 2.4.0, you have to change min to
none to get X86_V1 support as the baseline.  It will still use AVX and
such if available by runtime detection.

I couldn't figure out how to pass -Dcpu-baseline=none in debian/rules
(I have no idea how pybuild works), but editing the file that sets the
value to min and putting none appears to correctly build something that
should work on V1 systems.

-- 
Len Sorensen

Reply via email to