Skip to content

Commit 93fde59

Browse files
committed
[GR-23795] Never use system BLAS with numpy.
PullRequest: graalpython/994
2 parents 2fed075 + 7523637 commit 93fde59

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

graalpython/lib-graalpython/patches/numpy.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,19 @@ index f837df112..d3ce70ddd 100644
155155
src, obj = cmd._compile(body, None, None, 'c')
156156
cmd.temp_files.append("_configtest")
157157
cmd.compiler.link_executable([obj], "_configtest")
158+
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
159+
index 8b2ded1f2..8a9295a27 100755
160+
--- a/numpy/core/setup.py
161+
+++ b/numpy/core/setup.py
162+
@@ -755,7 +755,7 @@ def configuration(parent_package='',top_path=None):
163+
join('src', 'common', 'numpyos.c'),
164+
]
165+
166+
- blas_info = get_info('blas_opt', 0)
167+
+ blas_info = None # get_info('blas_opt', 0)
168+
if blas_info and ('HAVE_CBLAS', None) in blas_info.get('define_macros', []):
169+
extra_info = blas_info
170+
# These files are also in MANIFEST.in so that they are always in
158171
diff --git a/numpy/core/src/multiarray/_multiarray_tests.c.src b/numpy/core/src/multiarray/_multiarray_tests.c.src
159172
index 9061c0518..bb1dcff0c 100644
160173
--- a/numpy/core/src/multiarray/_multiarray_tests.c.src

0 commit comments

Comments
 (0)