File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -419,8 +419,8 @@ def is_intel_numpy():
419419 Return True if Intel NumPy is used during testing.
420420
421421 The check is based on MKL backend name stored in Build Dependencies, where
422- in case of Intel Numpy there "mkl-dynamic " is expected to be a part of the
423- name for both BLAS and LAPACK (the full name is "mkl-dynamic-ilp64-iomp").
422+ in case of Intel Numpy there "mkl" is expected at the beginning of the name
423+ for both BLAS and LAPACK (the full name is "mkl-dynamic-ilp64-iomp").
424424
425425 """
426426
@@ -430,8 +430,8 @@ def is_intel_numpy():
430430
431431 if numpy_version () < "2.0.0" :
432432 # numpy 1.26.4 has LAPACK name equals to 'dep140030038112336'
433- return "mkl-dynamic" in blas ["name" ]
434- return all ("mkl-dynamic" in dep ["name" ] for dep in [blas , lapack ])
433+ return blas ["name" ]. startswith ( "mkl" )
434+ return all (dep ["name" ]. startswith ( "mkl" ) for dep in [blas , lapack ])
435435
436436
437437def is_win_platform ():
You can’t perform that action at this time.
0 commit comments