[Bug 251842] math/eigen3 FULL option pulls in openblas which conflicts with ATLAS, please add BLAS selection

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 14 18:52:25 GMT 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251842

            Bug ID: 251842
           Summary: math/eigen3 FULL option pulls in openblas which
                    conflicts with ATLAS, please add BLAS selection
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: alt2600 at icloud.com
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

Created attachment 220552
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=220552&action=edit
makefile patch

With the new FULL option for the port blas was locked to openblas. Its not
clear how this is using blas given its a template library. Not sure why
openblas was selected instead of the default netlib "reference" port as this
doesn't conflict with other blas libraries.

I copied in code from a new dependancy superlu to allow the builder to select
the blas library of their choosing with some edits. I correlated this to the
FindBLAS.cmake file in this port to name the vendor codes appropriately. This
selection of blas to use is only set when FULL is set. Not sure this is the
most elegant, but the code does allow selection of the blas option and builds
fine. kdenlive seems to work fine with the movit built against my atlas version
of eigen3.

I've attached the patch, I will also post the full Makefile. Its possible it
may be better to use Reference instead of openblas by default. Even with this
set I'm thinking the cmake script will locate what it finds in the system, but
I haven't checked this. I believe this was the old manner this built.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list