Opened 3 years ago

Closed 2 years ago

#69538 closed defect (fixed)

py-numpy, py-scipy should prevent from linking to an arbitrary BLAS implementation

Reported by: barracuda156 Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: Cc: catap (Kirill A. Korinsky)
Port: py-numpy, py-scipy

Description

Currently the port does nothing, apparently, to ensure that the chosen BLAS variant is actually used. In result something like this can happen: #67490 For py312-numpy where meson is used, there is a specific order of BLAS implementations to search. This will probably break variants, unless they are passed via an argument to meson. See meson_options.txt.

Change History (5)

comment:1 Changed 3 years ago by barracuda156

Port: py-scipy added
Summary: py-numpy should prevent from linking to an arbitrary BLAS implementation → py-numpy, py-scipy should prevent from linking to an arbitrary BLAS implementation

comment:2 Changed 3 years ago by nilason (Nicklas Larsson)

#69326 is probably related to this ticket (or vice versa).

comment:3 in reply to:  2 Changed 2 years ago by barracuda156

Replying to nilason:

#69326 is probably related to this ticket (or vice versa).

And apparently more ports exhibit the same fault: #70105

comment:4 Changed 2 years ago by reneeotten (Renee Otten)

Fixed for py-numpy in this commit

comment:5 Changed 2 years ago by reneeotten (Renee Otten)

Resolution: → fixed
Status: assigned → closed

In 2424cb3a2431453ed68634a708a90941904c93b6/macports-ports (master):

py-scipy: update to 1.14.1

  • drop py38, add py313 subport
  • pin to 1.13.1 for py39 subport
  • switch to PyPI
  • add BLAS/LAPACK variants
  • only add 'accelerate' variant on systems where upstream supports it
  • add myself as co-maintainer
  • completely switch to 'meson' as build backend

Closes: #70931
Closes: #69538

Note: See TracTickets for help on using tickets.