-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
ENH: Add support for ATLAS > 3.9.33. #5364
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
Conversation
Might be worth a backport now that fedora 21 is out. |
81777e5
to
3cb05ff
Compare
Rebased for backport. |
class atlas_3_10_info(atlas_info): | ||
_lib_names = ['satlas'] | ||
#if sys.platform[:7] == 'freebsd': | ||
## I don't think freebsd supports 3.10 at this time - 2014 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what would freebsd need if it would support it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I simply don't know. It was special cased before because FreeBSD used
_lib_atlas = ['atlas_r']
_lib_lapack = ['alapack_r']
I don't know what they will use for 3.10.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd remove the comment then, its only confusing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Googling shows SAGE problems with FreeBSD, so probably the current situation is not good. There was a FreeBSD person posting a while back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment removed.
Recent ATLAS combines the previous libraries into two * libsatlas -- single threaded. * libtatlas -- threaded. This fix is a bit of hack in that ATLAS > 3.9.33 is treated as a new, separate library covered by atlas_3_10_info, but the latter derived from atlas_info, which treats the cblas, atlas, and atlas_lapack libraries separately, so the new info has a bit of repetition. The alternative would be to rewrite atlas_info, but that can wait on a larger cleanup of the build system. Closes numpy#3774.
3cb05ff
to
dd0732e
Compare
ENH: Add support for ATLAS > 3.9.33.
Note that on Ubuntu ATLAS 3.10 gets recognized fine by the old
I verified that this PR doesn't break anything there though, so it's OK for now. Some comments in the file to explain why the |
Recent ATLAS combines the previous libraries into two
This fix is a bit of hack in that ATLAS > 3.9.33 is treated as a new,
separate library covered by atlas_3_10_info, but the latter derives
from atlas_info, which treats the cblas, atlas, and atlas_lapack
libraries separately, so the new info has a bit of repetition.
The alternative would be to rewrite atlas_info, but that can wait
on a larger cleanup of the build system.
Closes #3774.