BUG: Fix build on s390x with clang by yasiribmcon · Pull Request #30214 · numpy/numpy

@yasiribmcon

For clang 20+ (_VEC_ >= 10305), fallback check relied on macro
definitions for vector operations, but clang provides regular
functions instead. This caused the fallback to redefine them as
macros, overriding the actual vector operation logic.

Signed-off-by: Yasir Ashfaq <Yasir.Ashfaq1@ibm.com>

charris pushed a commit to charris/numpy that referenced this pull request

Nov 14, 2025
For clang 20+ (_VEC_ >= 10305), fallback check relied on macro
definitions for vector operations, but clang provides regular
functions instead. This caused the fallback to redefine them as
macros, overriding the actual vector operation logic.

Signed-off-by: Yasir Ashfaq <Yasir.Ashfaq1@ibm.com>

charris added a commit that referenced this pull request

Nov 14, 2025
BUG: Fix build on s390x with clang (#30214)

cakedev0 pushed a commit to cakedev0/numpy that referenced this pull request

Dec 5, 2025
For clang 20+ (_VEC_ >= 10305), fallback check relied on macro
definitions for vector operations, but clang provides regular
functions instead. This caused the fallback to redefine them as
macros, overriding the actual vector operation logic.

Signed-off-by: Yasir Ashfaq <Yasir.Ashfaq1@ibm.com>

IndifferentArea pushed a commit to IndifferentArea/numpy that referenced this pull request

Dec 7, 2025
For clang 20+ (_VEC_ >= 10305), fallback check relied on macro
definitions for vector operations, but clang provides regular
functions instead. This caused the fallback to redefine them as
macros, overriding the actual vector operation logic.

Signed-off-by: Yasir Ashfaq <Yasir.Ashfaq1@ibm.com>