Created attachment 567746 [details] Not working ebuild nvidia-cuda-sdk-10.1 has support for gcc-8.2: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#system-requirements I've tried to update existing ebuild but it fails on ./doc/pdf/
Comment on attachment 567746 [details] Not working ebuild Why did you attach an ebuild that is "[n]ot working"?
(In reply to Jeroen Roovers from comment #1) > Comment on attachment 567746 [details] > Not working ebuild > > Why did you attach an ebuild that is "[n]ot working"? There is a corrected URL to archive.
I've started a new nvidia-cuda-toolkit-10.1.105 ebuild [0] It works well enough to get pycuda running, but the useflag based removals can use an update. Perhaps similar changes are needed for the SDK. [0] https://github.com/jvesely/gentoo/commit/90c0ffbd7bbe67c8ddb2a92f6d71d0578b3844a1
Could you test it with doc use flag? I get error : >>> Install nvidia-cuda-toolkit-10.1.105 into /tmp/portage/dev-util/nvidia-cuda-toolkit-10.1.105/image category dev-util Traceback (most recent call last): File "/usr/lib/portage/python3.6/doins.py", line 611, in <module> sys.exit(main(sys.argv[1:])) File "/usr/lib/portage/python3.6/doins.py", line 602, in main os.path.dirname(source)): File "/usr/lib/portage/python3.6/doins.py", line 450, in _doins return install_runner.install_file(source, os.path.dirname(dest)) File "/usr/lib/portage/python3.6/doins.py", line 386, in install_file return self._ins_runner.run(source, dest_dir) File "/usr/lib/portage/python3.6/doins.py", line 195, in run sstat = os.stat(source) FileNotFoundError: [Errno 2] No such file or directory: b'doc/pdf/.'
maybe it will help https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/cuda
(In reply to Oleg from comment #4) > Could you test it with doc use flag? I get error : > > >>> Install nvidia-cuda-toolkit-10.1.105 into /tmp/portage/dev-util/nvidia-cuda-toolkit-10.1.105/image category dev-util > Traceback (most recent call last): > File "/usr/lib/portage/python3.6/doins.py", line 611, in <module> > sys.exit(main(sys.argv[1:])) > File "/usr/lib/portage/python3.6/doins.py", line 602, in main > os.path.dirname(source)): > File "/usr/lib/portage/python3.6/doins.py", line 450, in _doins > return install_runner.install_file(source, os.path.dirname(dest)) > File "/usr/lib/portage/python3.6/doins.py", line 386, in install_file > return self._ins_runner.run(source, dest_dir) > File "/usr/lib/portage/python3.6/doins.py", line 195, in run > sstat = os.stat(source) > FileNotFoundError: [Errno 2] No such file or directory: b'doc/pdf/.' Right, we should move to builds/cuda-toolkit before considering docs. Should be fixed in the new version. [0] [0] https://github.com/jvesely/gentoo/blob/cuda-toolkit/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.1.105.ebuild
(In reply to Jan Vesely from comment #6) > (In reply to Oleg from comment #4) > > Could you test it with doc use flag? I get error : > > > > >>> Install nvidia-cuda-toolkit-10.1.105 into /tmp/portage/dev-util/nvidia-cuda-toolkit-10.1.105/image category dev-util > > Traceback (most recent call last): > > File "/usr/lib/portage/python3.6/doins.py", line 611, in <module> > > sys.exit(main(sys.argv[1:])) > > File "/usr/lib/portage/python3.6/doins.py", line 602, in main > > os.path.dirname(source)): > > File "/usr/lib/portage/python3.6/doins.py", line 450, in _doins > > return install_runner.install_file(source, os.path.dirname(dest)) > > File "/usr/lib/portage/python3.6/doins.py", line 386, in install_file > > return self._ins_runner.run(source, dest_dir) > > File "/usr/lib/portage/python3.6/doins.py", line 195, in run > > sstat = os.stat(source) > > FileNotFoundError: [Errno 2] No such file or directory: b'doc/pdf/.' > > Right, we should move to builds/cuda-toolkit before considering docs. Should > be fixed in the new version. [0] > > > [0] > https://github.com/jvesely/gentoo/blob/cuda-toolkit/dev-util/nvidia-cuda- > toolkit/nvidia-cuda-toolkit-10.1.105.ebuild Thanks, this version works.
Created attachment 570856 [details] dev-util/nvidia-cuda-sdk-10.1.105 ebuild There is SDK ebuild for this version.
Created attachment 571140 [details] dev-util/nvidia-cuda-sdk-10.1.105 ebuild The attachment before was for the toolkit, here is a working ebuild for the SDK that I was able to build on my test machine. i have attached the working nvidia-cuda-toolkit-10.1.105 to the relevant bug (https://bugs.gentoo.org/681694)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1312074989b3250cce376f2f260526e1e79cb1b9 commit 1312074989b3250cce376f2f260526e1e79cb1b9 Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2019-11-13 06:21:40 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2019-11-13 08:44:18 +0000 dev-util/nvidia-cuda-sdk: version bump. Suggested-By: Oleg, Jan Vesely, Jura, Brian Munro, Suggested-By: younky.yang@yahoo.com, Chicago Closes: https://bugs.gentoo.org/669726 Closes: https://bugs.gentoo.org/679412 Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Benda Xu <heroxbd@gentoo.org> dev-util/nvidia-cuda-sdk/Manifest | 1 + .../nvidia-cuda-sdk-10.1.243.ebuild | 141 +++++++++++++++++++++ 2 files changed, 142 insertions(+)