Search Criteria
Package Details: cnmatrix 0.0-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/cnmatrix.git (read-only, click to copy) |
---|---|
Package Base: | cnmatrix |
Description: | C interface to a few matrix backends |
Upstream URL: | https://github.com/cntools/cnmatrix/ |
Licenses: | MIT |
Submitter: | dbermond |
Maintainer: | dbermond |
Last Packager: | dbermond |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2022-08-02 22:50 (UTC) |
Last Updated: | 2024-05-05 15:35 (UTC) |
Dependencies (4)
- cblas (blis-cblas-openmpAUR, blis-cblasAUR, aocl-blis-aoccAUR, blas-gitAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blis-gitAUR, blisAUR, blas-mklAUR, aocl-blisAUR, openblas-lapackAUR, blas-openblas)
- lapacke (aocl-libflame-aoccAUR, lapacke-gitAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blas-mklAUR, aocl-libflameAUR, openblas-lapackAUR, blas-openblas)
- cmake (cmake-gitAUR) (make)
- eigen (eigen-gitAUR) (make)
Required by (2)
- monado (make)
- monado-doc (make)
Latest Comments
dbermond commented on 2025-03-05 00:31 (UTC)
@dreieck no, repository blas-openblas does not ship a 'cblas.h' header currently. openblas, a dependency for blas-openblas, do ship it, but not in the same directory of the reference cblas package. If there is a fix to be made, it would be in the openblas package (for example, placing or symlinking the headers in the same place as cblas), and not here. You can open an issue and ask for it. Imagine if there would be something like 50 cblas providers, each one shipping 'cblas.h' in a different directory than cblas does (like openblas do). Would we need to add 50 workarounds/fixes here for each provider? No, it does make sense to solve this here in the client package level.
dreieck commented on 2025-03-04 20:12 (UTC) (edited on 2025-03-04 20:29 (UTC) by dreieck)
cblas.h
actually is present inblas-openblas
:pkgconf --cflags cblas
saysIt turns out that adding the following to
build()
does fix the issue:-- this way the correct include directory will be added to the GCC command line, independent of the package that provides
cblas
.dbermond commented on 2025-03-04 12:46 (UTC) (edited on 2025-03-04 12:47 (UTC) by dbermond)
@dreieck This is not an issue of this package. The package builds fine with cblas. Your cblas provider (blas-openblas) does not ship the 'cblas.h' header, so it obviously will not work. You have to install cblas to build this package, and then switch to your cblas provider. If you cannot uninstall blas-openblas due to it being required for something else, build the package in a clean chroot.
dreieck commented on 2025-03-04 11:50 (UTC)
Ahoj,
build()
fails for me withfatal error: cblas.h: No such file or directory
:As
cblas
provider I have installedblas-openblas
.Regards and thanks for the package!