-
-
Notifications
You must be signed in to change notification settings - Fork 11k
BLD: streamlined library names in site.cfg sections #13157
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
651a845
to
48a017e
Compare
46dfaf9
to
d022eb2
Compare
This unifies the names for retrieving libraries in sections. Previously one could only get umfpack libraries using: [umfpack] umfpack_libs = ... while now it prefers to use [umfpack] libraries = ... (but defaults to use umfpack_libs). Some libraries is system_info uses libraries whereas others were using *_libs as keys. All future developments I think should retain the libraries keyword, and only if applicable for sub-packages it should be deferred to more _libs entries. Signed-off-by: Nick Papior <[email protected]>
d022eb2
to
22da0b9
Compare
This enables one to force users to use only one keyword in the site.cfg file for distutils. Signed-off-by: Nick Papior <[email protected]>
@eric-wieser, @rgommers I have marked conversations as resolved. Please reopen if needed! |
Could use some new tests in |
Added! |
aac9fa5
to
f29e4bf
Compare
Signed-off-by: Nick Papior <[email protected]>
f29e4bf
to
6993157
Compare
Signed-off-by: Nick Papior <[email protected]>
@mattip fixed remaining issues! |
This unifies the names for retrieving libraries in sections. Previously one could only get umfpack libraries using: [umfpack] umfpack_libs = ... while now it prefers to use [umfpack] libraries = ... (but defaults to use umfpack_libs). Some libraries is system_info uses libraries whereas others were using *_libs as keys. All future developments I think should retain the libraries keyword, and only if applicable for sub-packages it should be deferred to more _libs entries. Signed-off-by: Nick Papior <[email protected]>
This enables one to force users to use only one keyword in the site.cfg file for distutils. Signed-off-by: Nick Papior <[email protected]>
Signed-off-by: Nick Papior <[email protected]>
Signed-off-by: Nick Papior <[email protected]>
It would be nice to document this but ...
Could you take a look at both those files anyway ( |
Signed-off-by: Nick Papior <[email protected]>
Signed-off-by: Nick Papior <[email protected]>
LGTM. Will give other reviewers a chance to take a look before merging |
Thanks @zerothi |
* master: (25 commits) BUG: fix unravel_index when dimension is greater than 'intp' MANT: refactor unravel_index for code repetition (numpy#13446) BLD, TST: implicit func errors DOC: document existance of linalg backends BLD: streamlined library names in site.cfg sections (numpy#13157) MAINT: fixed typo 'wtihout' from numpy/core/shape_base.py BUG: fixing bugs in AVX exp/log while handling special value floats (numpy#13415) update sequence Add analysis check BUG: blindly add TypeError to accepted exceptions MAINT: fixed several PYTHONOPTIMIZE=2 failures BUG: fixed PYTHONOPTIMIZE run MAINT: fixed typo 'Mismacth' from numpy.core.setup_common.py MAINT: fixed last issues and questions according to numpy#13132 MAINT: improve efficiency of pad by avoiding use of apply_along_axis DOC: dimension sizes are non-negative, not positive BUILD, BUG: fix from review, fix bug in git_version MAINT: mention 'make dist' in error messsage BUILD: allow version-check to pass if GITVER is Unknown (sdist build) BUILD: fail documentation build if numpy version does not match ...
This unifies the names for retrieving libraries in sections.
Previously one could only get umfpack libraries using:
while now it prefers to use
(but defaults to use umfpack_libs).
Some libraries is system_info uses libraries whereas others were using
*_libs
as keys. All future developments I think should retain thelibraries keyword, and only if applicable for sub-packages it should
be deferred to more
_libs
entries.This commit also fixes CBLAS linkage if the user has supplied a
sufficient library. I.e. it first checks whether the CBLAS interface
is present as is, then tries to add cblas, etc.
It should at least now work for more diverse libraries.