Bug 2063595

Summary: Review Request: rust-find_cuda_helper - Helper crate for searching for CUDA libraries
Product: [Fedora] Fedora Reporter: Rémi Lauzier <remilauzier>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: decathorpe, package-review, remilauzier
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-23 17:43:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Fabio Valentini 2022-03-19 11:15:53 UTC
Are these CUDA crates functional without using proprietary NVidia drivers?
I.e. do they work without enabling software from non-Fedora repositories?

If the answer to those questions is "no", then these CUDA crates are most likely not acceptable for inclusion in Fedora:
https://docs.fedoraproject.org/en-US/packaging-guidelines/what-can-be-packaged/#_packages_which_are_not_useful_without_external_code

Comment 2 Rémi Lauzier 2022-03-19 16:04:32 UTC
I package what was compiling without cuda in copr. Test are passing too in these crates.
There is only cust that depend on cuda directly that i didn't package.

rust-simba work too without cuda directly with passing test.
https://copr.fedorainfracloud.org/coprs/remilauzier/rust-cuda/build/3767381/

There is no direct or indirect use of cuda code in these crate that i know of.
Technically i don't know if a binary crate use rust-simba with rust-cuda_std support what could happen.

If the mere indirect support of cuda is not authorized i will remove the request for these.

Comment 3 Fabio Valentini 2022-03-19 16:07:22 UTC
If these crates "work" without CUDA libraries present, that should be fine ...
but I wonder if it actually makes sense to package them if you can't add the applications that depend on the CUDA functionality to Fedora?
Or is that functionality optional in those applications?

Comment 4 Rémi Lauzier 2022-03-19 16:12:38 UTC
Should be optional, like the case for blender i think.

Just asking?

Isn't the policy a bit contradictory. Fedora most not have free code that could link to cuda but there is a repo to have nvidia-driver support.
Should fedora don't have a third party repo with nvidia-driver then since it could potentially link to cuda?

Comment 5 Fabio Valentini 2022-03-19 16:17:53 UTC
There's a difference between "it works without it" or "it's essential for functionality".
The rule is that a package's basic functionality can't depend on packages from outside official Fedora repositories (which the repo for NVidia drivers is not).

Comment 6 Rémi Lauzier 2022-03-19 16:21:53 UTC
ok. In my case i don't depend on cuda for these crates.