Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#15670 closed enhancement (invalid)

RFE: gcc43 variant for py25-numpy

Reported by: jochen@… Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

Can we please get back the gcc43 variant for py25-numpy?

I would like to build my complete toolchain, including numy and scipy, as well as my own code, using gfortran from GCC-4.3. It worked nicely until recently. Why were the already working variants removed?

r37408 | ram@macports.org | 2008-06-06 15:24:41 +0200 (Fri, 06 Jun 2008) | 2 lines
Changed paths:
   M /trunk/dports/python/py-numpy/Portfile
   M /trunk/dports/python/py25-numpy/Portfile

py-numpy/py25-numpy: remove unnecessary fortran variants

Don't know why they are supposed to be unnecessary? I want them back;-)

Change History (6)

comment:1 Changed 16 years ago by skymoo (Adam Mercer)

What error are you getting? I have successfully used f2py and gfortran from gcc43 without having the specific variants?

comment:2 Changed 16 years ago by jochen@…

No specific error, but for one I don't want g95 on my system at all, and second I am not sure it is safe to mix these Fortran compilers, esp. when they are form different GCC versions.

comment:3 in reply to:  2 Changed 16 years ago by skymoo (Adam Mercer)

Replying to jochen@macports.org:

No specific error, but for one I don't want g95 on my system at all, and second I am not sure it is safe to mix these Fortran compilers, esp. when they are form different GCC versions.

The numpy ports don't depend on g95 any more, as officially numpy does not support g95 under Mac OS X:

http://projects.scipy.org/pipermail/scipy-user/2008-January/015300.html

I installed numpy-1.0.4 using gfortran from gcc42 and compared that to using gcc43 and specifiying no fortran compiler. I couldn't find any differences. Also scipy builds (and passes the test suite), with gcc42 and gcc43, against numpy built without a fortran compiler. I haven't tested for any differences in the installed product with numpy-1.1.0 - but scipy passes the test suite.

Its a good point about mixing of compiler versions, I have never had any problems though.

I can re-add the fortran variants to numpy if you would be happier.

comment:4 Changed 16 years ago by skymoo (Adam Mercer)

Just asked on the NumPy Discussion mailing list about whether installing a fortran compiler effects anything:

http://projects.scipy.org/pipermail/numpy-discussion/2008-June/035046.html

essentially the answer is that it doesn't effect anything, its only an issue if you need to build against a LAPACK or BLAS that needs to be linked using a fortran compiler. We don't so I don't think that we need to have specific fortran compiler variants.

comment:5 Changed 16 years ago by skymoo (Adam Mercer)

Resolution: invalid
Status: newclosed

comment:6 Changed 15 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.