Page MenuHomeSolus

Add NVIDIA CUDA package
AbandonedPublic

Authored by ksunden on May 20 2018, 4:24 AM.

Details

Reviewers
None
Group Reviewers
Triage Team
Maniphest Tasks
T354: CUDA
Summary

The inclusion of cuda fixes T354.
This packages the recently released CUDA version 9.2, which includes
support for glibc 2.26 and gcc 7.

This is my first solus package, so I may have made some novice mistakes,
particularly with dependencies and such.
I am also not quite sure what the implications of having a proprietary
license/EULA mean for packaging, though I would think that it would be
much the same as the graphics drivers themselves.

Test Plan

I have installed and compiled/run cuda programs, including both samples and my own code.

Diff Detail

Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

ksunden created this revision.May 20 2018, 4:24 AM
ksunden requested review of this revision.May 20 2018, 4:24 AM

Not sure if there are objections to using /opt.
I noticed that No other Solus packages use /opt, but that is the standard install location for CUDA, so I went with it.

  • Solus does indeed not uses /opt
  • For license, if there is only one item, we don't use a list. Prefer license : EULA
  • component should rather be something like programming.tools
  • If build step is empty, it should be omitted
  • blank line at the end of the package can be nuked
  • The cuda license does not allow distribution. Unless we get a formal authorization from NVIDIA, this cannot be added in the repository.
DataDrake abandoned this revision.May 20 2018, 6:10 PM
DataDrake added a subscriber: DataDrake.

Absolutely not. We cannot legally redistribute CUDA as the EULA prohibits us from doing so.

Sorry to misunderstand, It appeared to be marked as "Accepted for Inclusion" over at T354.

Are there plans to seek permission from Nvidia, and if so, what would that process look like?