From 14f5e9b39dc6c14b1871ebf006bd24667e2b8925 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Mon, 20 Aug 2018 18:19:25 -0400 Subject: [PATCH] Fix #115: Forcibly use the local copy of blas and lapack --- packages/numpy/meta.yaml | 1 + .../numpy/patches/use-local-blas-lapack.patch | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 packages/numpy/patches/use-local-blas-lapack.patch diff --git a/packages/numpy/meta.yaml b/packages/numpy/meta.yaml index 4d01796ee..5934f7b86 100644 --- a/packages/numpy/meta.yaml +++ b/packages/numpy/meta.yaml @@ -17,6 +17,7 @@ source: - patches/init-alloc-cache.patch - patches/pass-along-errors-from-init.patch - patches/use-dummy-threading.patch + - patches/use-local-blas-lapack.patch build: cflags: -include math.h -I../../config diff --git a/packages/numpy/patches/use-local-blas-lapack.patch b/packages/numpy/patches/use-local-blas-lapack.patch new file mode 100644 index 000000000..154ddef3d --- /dev/null +++ b/packages/numpy/patches/use-local-blas-lapack.patch @@ -0,0 +1,17 @@ +diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py +old mode 100644 +new mode 100755 +index bea120cf9..5b2ccb2c1 +--- a/numpy/distutils/system_info.py ++++ b/numpy/distutils/system_info.py +@@ -406,8 +406,8 @@ def get_info(name, notfound_action=0): + 'numeric': Numeric_info, + 'numarray': numarray_info, + 'numerix': numerix_info, +- 'lapack_opt': lapack_opt_info, +- 'blas_opt': blas_opt_info, ++ 'lapack_opt': lapack_src_info, ++ 'blas_opt': blas_src_info, + 'boost_python': boost_python_info, + 'agg2': agg2_info, + 'wx': wx_info,