FreeBSD Bugzilla – Attachment 178506 Details for
Bug 215764
math/py-numpy: Remove dependency on math/openblas if other blas lib is selected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Patch to avoid unneccessary linking to openblas if netlib is selected
numpy_openblas.diff.txt (text/plain), 1.83 KB, created by
Thomas Zander
on 2017-01-04 13:14:48 UTC
(
hide
)
Description:
Patch to avoid unneccessary linking to openblas if netlib is selected
Filename:
MIME Type:
Creator:
Thomas Zander
Created:
2017-01-04 13:14:48 UTC
Size:
1.83 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 430542) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= numpy > PORTVERSION= 1.11.2 >-PORTREVISION= 1 >+PORTREVISION= 2 > PORTEPOCH= 1 > CATEGORIES= math python > MASTER_SITES= CHEESESHOP:source \ >@@ -41,8 +41,7 @@ > > ATLAS_USES= blaslapack:atlas > NETLIB_USES= blaslapack:netlib >-NETLIB_LIB_DEPENDS= libcblas.so:math/cblas \ >- libopenblas.so:math/openblas >+NETLIB_LIB_DEPENDS= libcblas.so:math/cblas > OPENBLAS_USES= blaslapack:openblas > SUITESPARSE_LIB_DEPENDS=libumfpack.so:math/suitesparse > TESTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose >Index: files/patch-numpy-distutils-system_info.py >=================================================================== >--- files/patch-numpy-distutils-system_info.py (revision 430542) >+++ files/patch-numpy-distutils-system_info.py (working copy) >@@ -1,6 +1,6 @@ >---- numpy/distutils/system_info.py.orig 2013-02-09 22:04:56.000000000 +0100 >-+++ numpy/distutils/system_info.py 2013-03-22 21:01:34.000000000 +0100 >-@@ -995,8 +995,8 @@ >+--- numpy/distutils/system_info.py.orig 2016-10-03 23:42:24 UTC >++++ numpy/distutils/system_info.py >+@@ -1038,8 +1038,8 @@ class atlas_info(system_info): > dir_env_var = 'ATLAS' > _lib_names = ['f77blas', 'cblas'] > if sys.platform[:7] == 'freebsd': >@@ -11,3 +11,15 @@ > else: > _lib_atlas = ['atlas'] > _lib_lapack = ['lapack'] >+@@ -1574,11 +1574,6 @@ class blas_opt_info(system_info): >+ self.set_info(**blas_mkl_info) >+ return >+ >+- openblas_info = get_info('openblas') >+- if openblas_info: >+- self.set_info(**openblas_info) >+- return >+- >+ atlas_info = get_info('atlas_3_10_blas_threads') >+ if not atlas_info: >+ atlas_info = get_info('atlas_3_10_blas')
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 215764
: 178506