tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc is frozen for the 2025Q2 branch
Regarding opencv ...
> Am 16.06.2025 um 10:26 schrieb Benny Siegert <bsiegert%gmail.com@localhost>:
>
> opencv: undefined reference to `cblas_sgemm'
> (https://releng.netbsd.org/bulktracker/pkg/54574152)
... it detects libblas.so and liblapack.so, but doed not look for a cblas library, just assuming that the interface is part of libblas. This is the case for openblas variants, but not for netlib.
There is some theoretical flexibility in the separate libs, as they can be combined with incomplete optimized ones. In practice, $everybody uses optimized libs that combine all of blas, cblas, lapack, lapacke. So upstreams get away with using libs and interfaces they don't check for.
Opencv cmake needs to ask for cblas, too. Right now broken for netlib blas, should work with openblas. Pkgsrc defaults to netlib.
Alrighty then,
Thomas
Home |
Main Index |
Thread Index |
Old Index