Opened 9 months ago
Closed 2 weeks ago
#69326 closed defect (fixed)
py-numpy @1.26.2 +openblas: Fails to configure with OpenBLAS, defaults to Accelerate
Reported by: | nilason (Nicklas Larsson) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | nilason (Nicklas Larsson) | |
Port: | py-numpy |
Description
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)
Change History (1)
comment:1 Changed 2 weeks ago by reneeotten (Renee Otten)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
fixed in this commit