Skip to content

Commit

Permalink
Fix preferences.
Browse files Browse the repository at this point in the history
Not sure why; I thought this was fixed...
  • Loading branch information
maleadt committed Jan 3, 2024
1 parent 1e385a2 commit 1065ecb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ steps:
cuda: "*"
multigpu: "*"
commands: |
echo -e "CUDA_Runtime_jll = \"76a88914-d11a-5bdc-97e0-2f5a05c973a2\"" >>Project.toml
echo -e "[CUDA_Runtime_jll]\nlocal = \"true\"" >LocalPreferences.toml
echo -e "[extras]\nCUDA_Runtime_jll = \"76a88914-d11a-5bdc-97e0-2f5a05c973a2\"" >>test/Project.toml
echo -e "[CUDA_Runtime_jll]\nlocal = \"true\"" >test/LocalPreferences.toml
if: build.message !~ /\[skip tests\]/
timeout_in_minutes: 5
matrix:
Expand Down Expand Up @@ -55,9 +55,9 @@ steps:
- "11.5"
- "11.4"
commands: |
echo -e "CUDA_Runtime_jll = \"76a88914-d11a-5bdc-97e0-2f5a05c973a2\"\nCUDA_Driver_jll = \"4ee394cb-3365-5eb0-8335-949819d2adfc\"" >>Project.toml
echo -e "[CUDA_Runtime_jll]\nversion = \"{{matrix.cuda}}\"" >LocalPreferences.toml
echo -e "[CUDA_Driver_jll]\ncompat = \"false\"" >>LocalPreferences.toml
echo -e "[extras]\nCUDA_Runtime_jll = \"76a88914-d11a-5bdc-97e0-2f5a05c973a2\"\nCUDA_Driver_jll = \"4ee394cb-3365-5eb0-8335-949819d2adfc\"" >>test/Project.toml
echo -e "[CUDA_Runtime_jll]\nversion = \"{{matrix.cuda}}\"" >test/LocalPreferences.toml
echo -e "[CUDA_Driver_jll]\ncompat = \"false\"" >>test/LocalPreferences.toml
env:
JULIA_PKG_SERVER_REGISTRY_PREFERENCE: "eager" # OK to downloading JLLs from GitHub
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Manifest.toml
LocalPreferences.toml
6 changes: 0 additions & 6 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,3 @@ NCCL_jll = "4d6d38e4-5b87-5e63-912a-873ff2d649b7"
[compat]
CEnum = "0.2, 0.3, 0.4, 0.5"
julia = "1.6"

[targets]
test = ["Test"]

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
3 changes: 3 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[deps]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

0 comments on commit 1065ecb

Please sign in to comment.