Request help adding cuda to Linux formula #6295
Unanswered
ReenigneArcher
asked this question in
Tap maintenance and brew development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Output of
brew config
Output of
brew doctor
Description of issue
I am trying to add cuda to a formula for Linux only, and I'm stuck on something.
First, when installing cuda via their
.run
file, I get the following output.https://github.com/LizardByte/Sunshine/actions/runs/16401942638/job/46342656092#step:7:9023
I believe cuda attempts to write output or errors here, but it's unable to access it from a homebrew environment. Is there anyway I can allow it to have access, or to re-route the output?
Second, this doesn't actually fail the build, instead it tries to continue and ends up failing later on. How can I make sure it fails when the cuda install fails?
I am working on this here: LizardByte/Sunshine#4097
I have attempted to search through the entire homebrew core repo for any hints about using cuda, for which I didn't find any. Any ideas how to get this working?
Beta Was this translation helpful? Give feedback.
All reactions