[Numpy-discussion] Build error on Windows

Ralf Gommers ralf.gommers at googlemail.com
Tue Jul 19 16:10:16 EDT 2011


On Sun, Jul 17, 2011 at 11:55 PM, Chris Barker <Chris.Barker at noaa.gov>wrote:

> On 7/14/2011 8:04 PM, Christoph Gohlke wrote:
>
>> A patch for the build issues is attached. Remove the build directory
>> before rebuilding.
>>
>>  Christoph,
>
> I had other issues (I think in one case, a *.c file was not getting
> re-built from the *.c.src file. But anyway, at the end the patch appears to
> work.
>
> Could someone with commit privileges commit it?
>

Can someone explain the change in core/setup.py below? 'cmpl' is apparently
for Compaq Portable Math Library, but I can't figure out what the 'm' is
for.

Ralf

--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -349,7 +349,7 @@ def check_types(config_cmd, ext, build_dir):
 def check_mathlib(config_cmd):
     # Testing the C math library
     mathlibs = []
-    mathlibs_choices = [[],['m'],['cpml']]
+    mathlibs_choices = [[],['cpml']]
     mathlib = os.environ.get('MATHLIB')
* *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110719/962b56e0/attachment.html>


More information about the NumPy-Discussion mailing list