Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641240 - dev-util/nvidia-cuda-toolkit version bump to 9.1 (9.1.85)
Summary: dev-util/nvidia-cuda-toolkit version bump to 9.1 (9.1.85)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marius Brehler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-16 04:00 UTC by Daniel M. Weeks
Modified: 2018-01-26 21:42 UTC (History)
13 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel M. Weeks 2017-12-16 04:00:19 UTC
9.1 contains some notable fixes since 9.0: https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html

Reproducible: Always
Comment 1 Jonas Stein gentoo-dev 2017-12-16 15:53:29 UTC
Thank you for the bump request. 
You can help the maintainer with further information:
Does a simple bump [1] work on your system? 

[1] https://wiki.gentoo.org/wiki/Custom_repository#Simple_version_bump_of_an_ebuild_in_the_local_overlay
Comment 2 Daniel M. Weeks 2017-12-17 01:01:17 UTC
A bump and adjustment of the driver version and SRC_URI installs without error. I have not done much testing beyond that due to the currently poor support for CUDA 9 in other packages...

The updated ebuild is available in the junkdrawer overlay.
Comment 3 Alex 2017-12-27 22:12:39 UTC
(In reply to Daniel M. Weeks from comment #2)
> The updated ebuild is available in the junkdrawer overlay.
Can you put the link to this ebuild please.
Comment 4 Daniel M. Weeks 2017-12-27 22:14:50 UTC
(In reply to Alex from comment #3)
> (In reply to Daniel M. Weeks from comment #2)
> > The updated ebuild is available in the junkdrawer overlay.
> Can you put the link to this ebuild please.

It's more easily used by adding the overlay with layman: layman -a junkdrawer

However, here is a direct link: https://github.com/doctaweeks/junkdrawer-overlay/blob/master/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9.1.85-r1.ebuild
Comment 5 Alex 2017-12-29 17:58:50 UTC
In my own repo I tried "nvidia-cuda-toolkit" ebuild from this PR https://github.com/gentoo/gentoo/pull/6577

Installation seems working Ok.

The ebuild from junkdrawer overlay looks the same except it has nvidia's driver version hardcoded, and a patch for glibc.
Comment 6 Viktor Levin 2017-12-30 18:27:45 UTC
Review comment there:

https://github.com/gentoo/gentoo/pull/6577

> do you need eutils here?
Comment 7 Alexander Petermann 2018-01-09 15:01:11 UTC
The currently portage only offers gcc 6.4.0, which is not supported by cuda:

> * cuda_9.1.85_387.26_linux.run SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
> * Only gcc version(s) 4.7 4.8 4.9 5.3 5.4 6.3 are supported,
> * of which none is installed

This should also be true for other version of cuda ...
Is their a patch somewhere in the pipeline?
Comment 8 Viktor Levin 2018-01-12 19:03:10 UTC
There is no 6.3.0 version of sys-devel/gcc in Portage tree.
Comment 9 Marius Brehler 2018-01-16 07:41:54 UTC
(In reply to Alexander Pitzer from comment #7)
> The currently portage only offers gcc 6.4.0, which is not supported by cuda:
> 
> > * cuda_9.1.85_387.26_linux.run SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
> > * Only gcc version(s) 4.7 4.8 4.9 5.3 5.4 6.3 are supported,
> > * of which none is installed
> 
> This should also be true for other version of cuda ...
> Is their a patch somewhere in the pipeline?

The latest installed gcc version listed from the ones above is used by nvcc, thus this isn't an issue and no patch is required. Regarding the current stable gcc versions in the tree one has to install gcc-5.4.
Comment 10 Larry the Git Cow gentoo-dev 2018-01-26 21:42:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d79d251cf341901b36717428e66772e129749ac

commit 2d79d251cf341901b36717428e66772e129749ac
Author:     Marius Brehler <marbre@linux.sungazer.de>
AuthorDate: 2017-12-18 09:31:37 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2018-01-26 21:41:51 +0000

    dev-util/nvidia-cuda-toolkit: Version bump to 9.1.85
    
    Closes: https://bugs.gentoo.org/641240
    Package-Manager: Portage-2.3.13, Repoman-2.3.3
    Closes: https://github.com/gentoo/gentoo/pull/6577

 dev-util/nvidia-cuda-toolkit/Manifest              |   1 +
 .../nvidia-cuda-toolkit-9.1.85.ebuild              | 136 +++++++++++++++++++++
 2 files changed, 137 insertions(+)