Skip to content

Commit

Permalink
Restrict subpackage compatibility.
Browse files Browse the repository at this point in the history
[skip julia]
[skip cuda]
  • Loading branch information
maleadt committed Apr 27, 2024
1 parent eb5f0c3 commit 49a0183
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,12 @@ steps:
try
Pkg.instantiate()
catch
# if we fail to instantiate, assume that we need a newer CUDA.jl
Pkg.develop(path=".")
# if we fail to instantiate, assume that we need newer dependencies
deps = [PackageSpec(path=".")]
if "{{matrix.package}}" == "cuTensorNet"
push!(deps, PackageSpec(path="lib/cutensor"))
end
Pkg.develop(deps)
end
Pkg.add("CUDA_Runtime_jll")
Expand Down
2 changes: 1 addition & 1 deletion lib/cudnn/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CUDNN_jll = "62b44479-cb7b-5706-934f-f13b2eb2e645"

[compat]
CEnum = "0.2, 0.3, 0.4, 0.5"
CUDA = "~5.3, ~5.4"
CUDA = "~5.4"
CUDA_Runtime_Discovery = "0.2"
CUDNN_jll = "~9.0"
julia = "1.8"
2 changes: 1 addition & 1 deletion lib/custatevec/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cuQuantum_jll = "b75408ef-6fdf-5d74-b65a-7df000ad18e6"

[compat]
CEnum = "0.2, 0.3, 0.4, 0.5"
CUDA = "~5.3, ~5.4"
CUDA = "~5.4"
CUDA_Runtime_Discovery = "0.2"
cuQuantum_jll = "~24.03"
julia = "1.8"
2 changes: 1 addition & 1 deletion lib/cutensornet/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cuTENSOR = "011b41b2-24ef-40a8-b3eb-fa098493e9e1"

[compat]
CEnum = "0.2, 0.3, 0.4, 0.5"
CUDA = "~5.1, ~5.2, ~5.3, ~5.4"
CUDA = "~5.4"
CUDA_Runtime_Discovery = "0.2"
cuQuantum_jll = "~24.3"
cuTENSOR = "2"
Expand Down

0 comments on commit 49a0183

Please sign in to comment.