[Numpy-discussion] OS X binaries for releases

KACVINSKY Tom Tom.KACVINSKY at 3ds.com
Wed Aug 21 09:31:10 EDT 2013



From: numpy-discussion-bounces at scipy.org [mailto:numpy-discussion-bounces at scipy.org] On Behalf Of Kyle Mandli
Sent: Tuesday, August 20, 2013 10:10 PM
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] OS X binaries for releases

On Tue, Aug 20, 2013 at 5:35 PM, KACVINSKY Tom <Tom.KACVINSKY at 3ds.com<mailto:Tom.KACVINSKY at 3ds.com>> wrote:
llvm-gcc.  You have to specify the right options which I can look up tomorrow when I'm back in the office.  We don't invoke gcc directly, we use xcrun.

On Aug 20, 2013, at 18:31, "David Cournapeau" <cournape at gmail.com<mailto:cournape at gmail.com>> wrote:


On Tue, Aug 20, 2013 at 11:20 PM, KACVINSKY Tom <Tom.KACVINSKY at 3ds.com<mailto:Tom.KACVINSKY at 3ds.com>> wrote:
You can use the 10.6 SDK on 10.8.  At least we do.

With which compiler ?

David

Tom

On Aug 20, 2013, at 18:17, "David Cournapeau" <cournape at gmail.com<mailto:cournape at gmail.com>> wrote:


On Tue, Aug 20, 2013 at 9:48 PM, Ralf Gommers <ralf.gommers at gmail.com<mailto:ralf.gommers at gmail.com>> wrote:
Hi all,
Building binaries for releases is currently quite complex and time-consuming. For OS X we need two different machines, because we still provide binaries for OS X 10.5 and PPC machines. I propose to not do this anymore. It doesn't mean we completely drop support for 10.5 and PPC, just that we don't produce binaries. PPC was phased out in 2006 and OS X 10.6 came out in 2009, so there can't be a lot of demand for it (and the download stats at http://sourceforge.net/projects/numpy/files/NumPy/1.7.1/ confirm this).
Furthermore I propose to not provide 2.6 binaries anymore. Downloads of 2.6 OS X binaries were <5% of the 2.7 ones. We did the same with 2.4 for a long time - support it but no binaries.
So what we'd have left at the moment is only the 64-bit/32-bit universal binary for 10.6 and up. What we finally need to add is 3.x OS X binaries. We can make an attempt to build these on 10.8 - since we have access to a hosted 10.8 Mac Mini it would allow all devs to easily do a release (leaving aside the Windows issue). If anyone has tried the 10.6 SDK on 10.8 and knows if it actually works, that would be helpful.

I am not sure one can use 10.6 SDK on 10.8 ? I am actually looking into those issues for our mac support at Enthought

Are you here for euroscipy ?

David

Any concerns, objections?
Cheers,
Ralf
P.S. the same proposal applies of course also to scipy


_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion at scipy.org<mailto:NumPy-Discussion at scipy.org>
http://mail.scipy.org/mailman/listinfo/numpy-discussion

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion at scipy.org<mailto:NumPy-Discussion at scipy.org>
http://mail.scipy.org/mailman/listinfo/numpy-discussion

This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email and all attachments,

(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.

For other languages, go to http://www.3ds.com/terms/email-disclaimer

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion at scipy.org<mailto:NumPy-Discussion at scipy.org>
http://mail.scipy.org/mailman/listinfo/numpy-discussion

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion at scipy.org<mailto:NumPy-Discussion at scipy.org>
http://mail.scipy.org/mailman/listinfo/numpy-discussion

This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email and all attachments,

(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.

For other languages, go to http://www.3ds.com/terms/email-disclaimer

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion at scipy.org<mailto:NumPy-Discussion at scipy.org>
http://mail.scipy.org/mailman/listinfo/numpy-discussion

This would be an appropriate time I suppose to say I am attempting to build numpy, scipy and matplotlib on 10.9.  NDA of course prohibits me (unfortunately) from really discussing things but safe to say I would support "moving on".  There are a multitude of issues that would be resolved by dropping support for PPC (build complexity) and supporting SDKs versions > 10.6.

Kyle

My bad.  I am using Xcode 4.5.2, and the only SDKs installed are the 10.7 and 10.8 SDKs.  So I don't know if it is possible to build with the 10.6 SDK (unless there is an option ot install the 10.6 SDK from within Xcode).

Anyway,  this is what we use to get the 10.7 SDK:

For compiling:

/usr/bin/xcrun --sdk macosx10.7 --run llvm-gcc -c -m64 -fPIC -- this gives 64 bit builds, I am guessing adding -m32 will give you 32 bit builds.

For Linking:

/usr/bin/xcrun --sdk macosx10.7 --run llvm-gcc -flat_namespace -dynamiclib -headerpad_max_install_names -install_name <library name here> -m64 -mmacosx-version-min=10.6

I think the -mmacos-version option is crucial, as there were some change in the Mach-O format starting with 10.5/6.

Tom





This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email and all attachments,

(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.

For other languages, go to http://www.3ds.com/terms/email-disclaimer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20130821/88fa8ffe/attachment.html>


More information about the NumPy-Discussion mailing list