Skip to content

Local CUDA settings not propagated to Pkg.test #2547

Answered by maleadt
JBlaschke asked this question in Q&A
Discussion options

You must be logged in to vote

Converted to a discussion since this isn't really a CUDA.jl issue.


In CI, we successfully do this by setting a LocalPreferences.toml in the package directory:

commands: |
echo -e "[CUDA_Runtime_jll]\nlocal = \"true\"" >LocalPreferences.toml
. I don't have experience doing this globally, so maybe ask about that on the Preferences.jl repository. Typically, the issue is that the package in question (CUDA_Runtime_jll) isn't a direct dependency or listed in the [extras] section of the active environment.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by JBlaschke
Comment options

You must be logged in to vote
1 reply
@maleadt
Comment options

Comment options

You must be logged in to vote
1 reply
@JBlaschke
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #2545 on November 07, 2024 08:19.