Bug 257321 - math/eigen3: Remove unnecessary OpenBLAS dependency
Summary: math/eigen3: Remove unnecessary OpenBLAS dependency
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-kde (Team)
URL: https://eigen.tuxfamily.org/index.php...
Keywords: needs-patch, needs-qa
Depends on:
Blocks: 251842
  Show dependency treegraph
Reported: 2021-07-22 00:30 UTC by alt2600
Modified: 2021-07-22 17:00 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (kde)
koobs: merge-quarterly?

patch-eigen3-Makefile-Disable-Full (303 bytes, patch)
2021-07-22 17:00 UTC, alt2600
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description alt2600 2021-07-22 00:30:55 UTC


Eigen doesn't have any dependencies other than the C++ standard library.

We use the CMake build system, but only to build the documentation and unit-tests, and to automate installation. If you just want to use Eigen, you can use the header files right away. There is no binary library to link to, and no configured header file. Eigen is a pure template library defined in the headers. 

there is no reason why this has OpenBLAS as a required library. This should also close PR 251842, for the same basic reason. Nor would it seemingly need any of the other listed library dependencies

Library dependencies:

        libcholmod.so : math/suitesparse-cholmod
        libumfpack.so : math/suitesparse-umfpack
        libsuperlu.so : math/superlu
        libadolc.so : math/adol-c
        libfftw3.so : math/fftw3
        libmpfr.so : math/mpfr
        libgmp.so : math/gmp
        libboost_thread.so : devel/boost-libs
        libopenblas.so : math/openblas
Comment 1 alt2600 2021-07-22 17:00:22 UTC
Created attachment 226619 [details]

Patch attached. This simply turns off the FULL option as a Default

check-orphans confirms there is no change with "building" the port.

/usr/ports/math/eigen3|$} sudo make check-orphans
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)