New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update matplotlib hack for OS X #7856
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:5
A few quick comments: SPGK.txt needs to be updated. Also, is the hack appropriate for OS X running 10.5 (since it now just checks for "DARWIN", not the version number)? I don't have access to a machine to test that. Finally, if SAGE64 is set and we're on DARWIN, is it worth making some of the other changes in http://blog.hyperjeff.net/?p=160? For example, in src/make.osx, changing
so that "-arch ppc" gets changed to "-arch x86_64"? (That web page also suggests adding "FFLAGS", and making a few other changes. We can defer these until later, also.) |
comment:6
Oh, also, the file patches/osx10.6hack~ should be deleted. |
comment:7
As far as actual testing goes, on my OS X 10.6 machines:
So positive review, modulo the comments made above. Do we need to test on an OS X 10.5 machine? |
comment:8
It runs patches/osx10.6hack on any OS X, but only actually applies the hack on 10.6. It immediately exits patches/osx10.6hack on other than 10.6. I've updated the spkg, and also now tested it on 10.5 and it works fine (as before). So, can you change it to positive review? |
Author: William Stein |
Reviewer: John Palmieri |
comment:11
Please see http://www.mail-archive.com/matplotlib-checkins@lists.sourceforge.net/msg04165.html and http://www.mail-archive.com/matplotlib-checkins@lists.sourceforge.net/msg04166.html for something which looks relevant - namely, DPY_ARRAYAUNIQUE_SYMBOL is, in fact, a typo for DPY_ARRAY_UNIQUE_SYMBOL. I don't know if this would fix things for us, but at any rate the 'horrible hack' uses precisely this (incorrect) variable, so we should at least fix both the source and the hack to use the correct one. |
comment:12
Replying to @kcrisman:
I tried just the patches mentioned above, not the "horrible hack", but it didn't work: the hack was needed to avoid crashes. |
Merged: 4.3.1.alpha2 |
Changed merged from 4.3.1.alpha2 to sage-4.3.1.alpha2 |
See the discussion on #7095.
Component: packages: standard
Author: William Stein
Reviewer: John Palmieri
Merged: sage-4.3.1.alpha2
Issue created by migration from https://trac.sagemath.org/ticket/7856
The text was updated successfully, but these errors were encountered: