Describe the issue:
With numpy-1.26.0, which contains the new CPU dispatcher, when -mcpu=native is set in CFLAGS for platforms not in the list with explicit support (tested on alpha), configure fails with the below messages:
Message: Appending option "detect" to "cpu-baseline" due to detecting global architecture c_arg "-mcpu=native"
../numpy-1.26.0/meson_cpu/meson.build:163:35: ERROR: features.test takes at least 1 arguments, but got 0.
In this case, CFLAGS were set to -mieee -O3 -pipe -mcpu=native -mtune=native. Works fine on 1.25.2. Complete log: build.log
I offer FREE shell access to test machines for all of the architectures I validate on. If testing on the hardware I used to reproduce this is helpful, just include a desired username.
Reproduce the code example:
Error message:
No response
Runtime information:
N/A
Context for the issue:
No response
Describe the issue:
With numpy-1.26.0, which contains the new CPU dispatcher, when
-mcpu=nativeis set inCFLAGSfor platforms not in the list with explicit support (tested on alpha), configure fails with the below messages:In this case,
CFLAGSwere set to-mieee -O3 -pipe -mcpu=native -mtune=native. Works fine on 1.25.2. Complete log: build.logI offer FREE shell access to test machines for all of the architectures I validate on. If testing on the hardware I used to reproduce this is helpful, just include a desired username.
Reproduce the code example:
Error message:
No response
Runtime information:
N/A
Context for the issue:
No response