I'm trying to compile sci-libs/cholmod-3.0.14 with cuda flag and i'm getting this error: cholmod_gpu.c:20:10: fatal error: cholmod_gpu.h: No such file or directory 20 | #include "cholmod_gpu.h" | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:448: cholmod_gpu.lo] Error 1 cholmod_gpu.c:20:10: fatal error: cholmod_gpu.h: No such file or directory 20 | #include "cholmod_gpu.h" | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:455: libcholmodl_gpu_la-cholmod_gpu.lo] Error 1 make[2]: Leaving directory '/var/tmp/portage/sci-libs/cholmod-3.0.14/work/cholmod-3.0.14/GPU' make[1]: *** [Makefile:643: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sci-libs/cholmod-3.0.14/work/cholmod-3.0.14' make: *** [Makefile:507: all] Error 2 * ERROR: sci-libs/cholmod-3.0.14::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-libs/cholmod-3.0.14::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-libs/cholmod-3.0.14::gentoo'`. * The complete build log is located at '/var/tmp/portage/sci-libs/cholmod-3.0.14/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-libs/cholmod-3.0.14/temp/environment'. * Working directory: '/var/tmp/portage/sci-libs/cholmod-3.0.14/work/cholmod-3.0.14' * S: '/var/tmp/portage/sci-libs/cholmod-3.0.14/work/cholmod-3.0.14' Reproducible: Always Steps to Reproduce: USE="cuda" emerge sci-libs/cholmod
Created attachment 870203 [details] emerge --info
Please attach the full build log.
Created attachment 870331 [details] build.log
I have the same bug
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c0474cc8a08172cdc244af680edba8be5ada95b commit 6c0474cc8a08172cdc244af680edba8be5ada95b Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2023-11-27 19:58:40 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2023-12-16 09:20:20 +0000 sci-libs/cholmod: fix cuda build - include cuda patch from https://bugs.gentoo.org/715610#c16 - make use of cuda.eclass for nvcc Closes: https://bugs.gentoo.org/913921 Closes: https://bugs.gentoo.org/904973 Closes: https://bugs.gentoo.org/715610 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34020 Signed-off-by: Pacho Ramos <pacho@gentoo.org> sci-libs/cholmod/cholmod-3.0.13.ebuild | 14 ++- sci-libs/cholmod/cholmod-3.0.14.ebuild | 14 ++- .../cholmod/files/cholmod-3.0.14-fix-CUDA.patch | 109 +++++++++++++++++++++ 3 files changed, 133 insertions(+), 4 deletions(-)