Search Criteria
Package Details: cnmatrix 0.0-4
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: | 2 |
| Popularity: | 0.165349 |
| First Submitted: | 2022-08-02 22:50 (UTC) |
| Last Updated: | 2026-06-05 02:58 (UTC) |
Dependencies (4)
- cblas (blis-cblas-openmpAUR, blis-cblasAUR, aocl-blis-aoccAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blas-openblas-gitAUR, blas-gitAUR, aocl-blisAUR, openblas-lapackAUR, blas-mklAUR, blas-openblas)
- lapacke (aocl-libflame-aoccAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blas-openblas-gitAUR, lapacke-gitAUR, openblas-lapackAUR, blas-mklAUR, aocl-libflameAUR, blas-openblas)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- eigen3 (make)
Required by (2)
- monado (make)
- monado-doc (make)
Latest Comments
cprn commented on 2026-06-05 14:30 (UTC)
@dbermond thanks! <3
dbermond commented on 2026-06-05 02:59 (UTC)
@cprn implemented.
cprn commented on 2026-05-25 05:40 (UTC) (edited on 2026-05-25 06:19 (UTC) by cprn)
@dbermond I just hit the same issue @dreieck did, even though I never explicitly installed OpenBLAS – it was pulled as a dependency (it installs by default when
cblasis required, e.g. byopencv,python-numpy,rocblas). I think the issue will become more and more popular withmonado(OpenXR implementation) depending oncnmatrixand popularisation of VR (e.g. I'm here because I'm setting up VR in Star Citizen).While I agree in a perfect world it'd be solved by OpenBLAS maintainer, having above in mind, can we pretty please include these 3 lines at the top of
build()?These would run as a fallback only, and solve for any
cblasalternative, not only OpenBLAS. Please, reconsider.Full disclosure, IDK how to propose changes in OpenBLAS, and I think fixing there would involve a lot more than 3 lines in PKGBUILD.
dbermond commented on 2025-12-29 19:09 (UTC)
@aperez package updated, thanks for reporting.
aperez commented on 2025-12-29 16:21 (UTC)
The
eigendependency needs to be changed toeigen3to make this package build.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.hactually is present inblas-openblas:pkgconf --cflags cblassaysIt 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
cblasprovider I have installedblas-openblas.Regards and thanks for the package!