Bug 268348 - math/py-numpy: introduce FORTRAN / NOBLAS options
Summary: math/py-numpy: introduce FORTRAN / NOBLAS options
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-13 09:34 UTC by Franco Fichtner
Modified: 2023-07-22 21:03 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (python)


Attachments
FORTRAN/NOBLAS options (3.05 KB, patch)
2022-12-13 09:34 UTC, Franco Fichtner
no flags Details | Diff
FORTRAN/NOBLAS options (3.10 KB, patch)
2022-12-13 19:17 UTC, Franco Fichtner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Franco Fichtner 2022-12-13 09:34:18 UTC
Created attachment 238749 [details]
FORTRAN/NOBLAS options

Hi,

This allows to run numpy without any fortran/gcc dependencies. We are specifically using py-duckdb which continues to work.  No defaults have been switched.


Cheers,
Franco
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2022-12-13 18:05:54 UTC
Note that since SuiteSparse 6, all modules bring Fortran, then you should also add:

SUITESPARSE_IMPLIES=	FORTRAN
Comment 2 Franco Fichtner 2022-12-13 19:00:57 UTC
Good point, forgot about this since it was previously disabled on my end. I'll update the patch accordingly.
Comment 3 Franco Fichtner 2022-12-13 19:17:17 UTC
Created attachment 238767 [details]
FORTRAN/NOBLAS options
Comment 4 Thierry Thomas freebsd_committer freebsd_triage 2022-12-15 17:34:51 UTC
Everything goes to fast!

SuiteSparse 6.0.2 has been released (not yet in our ports tree), and according to its changelog, Fortran is no more required for AMD and UMFPACK.

See <https://github.com/DrTimothyAldenDavis/SuiteSparse/releases/tag/v6.0.2>.