Re: git: b0b4d9e1eae8 - main - */*: Switch to NumPy 2.x

From: Charlie Li <vishwin_at_freebsd.org>
Date: Mon, 11 May 2026 19:29:33 UTC
Max Brazhnikov wrote:
> -Dcpu-baseline="none" is safe to commit and should be committed if we claim support for older CPU.
> 
This is not as clear-cut as it seems. CPU dispatching on top of 
-Dcpu-baseline=none does not cover all optimised code paths that 
newer/feature-rich CPUs can use. Given that numpy is a very 
performance-sensitive software and considering its userbase, this kind 
of performance hit can be a showstopper.

The base system can claim support for older CPU however it wants, but it 
does not mean individual third-party software has to do the same. Of 
course we in ports should make our best efforts in this regard but the 
expected majority use-cases and configurations need to take precedence.

I'm not opposed to an option that makes clear that -Dcpu-baseline=none 
is both not the default and strongly discouraged outside of CPUs older 
than or lack features of -Dcpu-baseline=min.

-- 
Charlie Li
...nope, still don't have an exit line.