Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cython compilation errors: '-mno-fused-madd'

Whenever I compile Cython code (using pyximport) and frequently when I install packages from source (with pip) I get

clang: warning: argument unused during compilation: '-mno-fused-madd'

What is this warning and what can I do to prevent it? I suspect I may not be able to prevent when pip triggers it, but is thre at least some way to configure pyximport to avoid it?


OS X 10.9, Python 2.7.5, Xcode clang 500.2.79

like image 651
orome Avatar asked Nov 29 '13 22:11

orome


1 Answers

The answer before didn't work for me, but it worked this to tell clang to ignore these error messages:

export CFLAGS=-Qunused-arguments
export CPPFLAGS=-Qunused-arguments

Solution found in clang error: unknown argument: '-mno-fused-madd' (python package installation failure)

like image 96
Jose Luis de la Rosa Avatar answered Sep 28 '22 17:09

Jose Luis de la Rosa