We are having problem with Lapack compiled on a MacBook Pro Late 2013. The compiler complains about unsupported vector instructions when compiled with -march=native
:
no such instruction: `vmovss (%rdx), %xmm0'
With -march=core2
everything is fine.
The problem is: How to detect the processor architecture in waf? Currently, waf is aware of running on a machine with the Darwin OS, but the problem is not related to the OS but the processor, so this doesn't help.
I'm not asking how to get the assembler error fixed! I'm asking how to have waf detect the processor architecture.