[Numpy-tickets] [NumPy] #573: numpy does not build when LDFLAGS are set

NumPy numpy-tickets@scipy....
Sun Dec 9 13:17:58 CST 2007


#573: numpy does not build when LDFLAGS are set
----------------------+-----------------------------------------------------
 Reporter:  bicatali  |        Owner:  somebody
     Type:  defect    |       Status:  closed  
 Priority:  normal    |    Milestone:  1.0.5   
Component:  Other     |      Version:  none    
 Severity:  normal    |   Resolution:  wontfix 
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by bicatali):

 OK, I tried to recollect the LDFLAGS issues in the numpy-discussion
 mailing list.

 I don't see overwriting flags as a feature. This is quite a headache to
 maintain for us in Gentoo and I believe in other distributions. I
 understand from the mailing lists that other flags such as CFLAGS are also
 overwritten.

 How hard would it be to set the minimum common flags required to compile
 and the user decide for optimizations and extra arch-specific flags? This
 is what is done in many packages. Compiling first without flags and then
 selecting numpy flags + user flags is not really a friendly solution, and
 I'm not even sure it would be a reproducible in another setup.
 This would also prevent you to get more LDFLAGS building problems.

 So far, I added the -shared option to user set LDFLAGS to try to reproduce
 the vanilla numpy behaviour and had worked. (Sorry I tried to do it in the
 source code to provide you a patch, but it did not seem an obvious process
 for whoever not used to the code).

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/573#comment:4>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list