Created attachment 215166 [details] svn diff patch to allow math/arpack-ng to link against math/openblas Some consumers of arpack-ng (e.g. math/scilab) provides user a choice between atlas and openblas. However arpack-ng cannot be linked against openblas, so scilab gets linked against both libraries. Attached patch adds support for WITH_BLAS=openblas option.
Created attachment 215168 [details] svn diff patch to allow math/arpack-ng to link against math/openblas it seems that openblas provides lapack functions also
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/156988815
I wonder why this option is not made visible to users by means of OPTIONS?
(In reply to Gleb Popov from comment #3) I see 2 problems: 1) There is some kind of global switch in Mk/Uses/blaslapack.mk. I think there should be a global flag to switch default blas implementation for all ports. 2) Unfortunately, lapack parts of openblas are not drop-in replacement of math/lapack. Some tests in dependent libraries fail with lapack from openblas.