Hi, I propose the following patch to fix some issues with the pytorch ebuild: ``` --- /var/db/repos/science/sci-libs/pytorch/pytorch-1.6.0-r1.ebuild 2020-11-08 16:28:36.786393476 +0100 +++ /var/db/repos/hendrik_localrepo/sci-libs/pytorch/pytorch-1.6.0-r2.ebuild 2020-11-13 08:37:52.569834458 +0100 @@ -5,7 +5,7 @@ PYTHON_COMPAT=( python3_{6,7,8} ) -inherit distutils-r1 cmake cuda +inherit distutils-r1 cmake cuda cmake-utils MPV=${PV/_p/a} @@ -160,6 +160,7 @@ cd ../tensorpipe || die eapply "${FILESDIR}"/${PN}-1.6.0-tensorpipe-unbundle-libuv.patch + eapply_user } src_configure() { ``` After applying these changes to the ebuild, emerging pytorch with cuda USE flag still fails, I added the log as an attachment.
Created attachment 671377 [details] build.log of emerge pytorch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/sci.git/commit/?id=f66ac0c6904b9f69ec44eb9b368c9e754b1b26e1 commit f66ac0c6904b9f69ec44eb9b368c9e754b1b26e1 Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2020-12-20 13:01:27 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2020-12-20 13:01:35 +0000 sci-libs/pytorch: migrate from cmake-utils to cmake. Suggested-by: kenshin33, Hendrik Klug <hendrik.klug@gmail.com> Closes: https://github.com/gentoo/sci/issues/992 Closes: https://bugs.gentoo.org/755101 Closes: https://bugs.gentoo.org/754342 Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: Benda Xu <heroxbd@gentoo.org> sci-libs/pytorch/pytorch-1.6.0-r1.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)