You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/numpy/files/numpy-1.11.2-blas_rec_inc_d...

25 lines
958 B

commit 61e9159569a601315b67c30b6e26bbb2149c0bfa
Author: Benda Xu <heroxbd@gentoo.org>
Date: Wed Feb 15 11:17:05 2017 +0900
BUG: blas_info should record include_dirs
blas specified in site.cfg could have non-standard include dirs.
It should be read and saved in distutils/__config__.py
PR: https://github.com/numpy/numpy/pull/8619
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
index b8520ac..0fba865 100644
--- a/numpy/distutils/system_info.py
+++ b/numpy/distutils/system_info.py
@@ -1667,6 +1667,8 @@ class blas_info(system_info):
info = self.check_libs(lib_dirs, blas_libs, [])
if info is None:
return
+ else:
+ info['include_dirs'] = self.get_include_dirs()
if platform.system() == 'Windows':
# The check for windows is needed because has_cblas uses the
# same compiler that was used to compile Python and msvc is