[MacPorts] #69326: py-numpy @1.26.2 +openblas: Fails to configure with OpenBLAS, defaults to Accelerate

MacPorts noreply at macports.org
Mon Feb 12 10:41:56 UTC 2024


#69326: py-numpy @1.26.2 +openblas: Fails to configure with OpenBLAS, defaults to
Accelerate
---------------------+-----------------------
 Reporter:  nilason  |      Owner:  michaelld
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  py-numpy
---------------------+-----------------------
 Configuring `py-numpy` with `+openblas` fails to pick up OpenBLAS and
 defaults to `Accelerate`:

 {{{

 sudo port -vs install py312-numpy +openblas
 --->  Computing dependencies for py312-numpy.
 --->  Fetching distfiles for py312-numpy
 --->  Verifying checksums for py312-numpy
 --->  Checksumming numpy-1.26.2.tar.gz
 ...
 Run-time dependency scipy-openblas found: NO (tried pkgconfig)
 WARNING: MKLROOT env var set to
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 numpy/py312-numpy/work/numpy-1.26.2/.mesonpy-kgu4_xb7/build/None, but not
 pointing to an MKL install
 Run-time dependency mkl found: NO (tried pkgconfig and system)
 WARNING: MKLROOT env var set to
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 numpy/py312-numpy/work/numpy-1.26.2/.mesonpy-kgu4_xb7/build/None, but not
 pointing to an MKL install
 Run-time dependency mkl found: NO (tried pkgconfig and system)
 Run-time dependency accelerate found: YES
 ../../numpy/meson.build:124: WARNING: Project targets '>=1.2.99' but uses
 feature introduced in '1.3.0': dep 'accelerate' custom lookup.
 Message: BLAS symbol suffix: $NEWLAPACK
 ...
 }}}


 Resulting in e.g.:

 {{{
 otool -L
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/numpy/linalg/_umath_linalg.cpython-312-darwin.so
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/numpy/linalg/_umath_linalg.cpython-312-darwin.so:
 /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
 (compatibility version 1.0.0, current version 4.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1336.61.1)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69326>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list