Skip to content

Commit

Permalink
Remove direct CUDA dep from test env
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Jun 7, 2024
1 parent 54da0ab commit eb0759a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ steps:
artifact_paths: "output/*"

- label: "CPU MPI tests"
command: "julia --project -e 'using Pkg; Pkg.test()'"
command: "julia --project --check-bounds=yes test/runtests.jl"
env:
CLIMACOMMS_CONTEXT: "MPI"
artifact_paths: "output/*"
Expand Down
5 changes: 3 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ KernelAbstractions = "0.7, 0.8, 0.9"
Krylov = "0.8, 0.9"
LinearAlgebra = "1"
LinearOperators = "2"
MPI = "0.20"
NVTX = "0.3"
ODEConvergenceTester = "0.2"
OrderedCollections = "1"
Expand All @@ -56,15 +57,15 @@ julia = "1.9"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
ClimaCore = "d414da3d-4745-48bb-8d80-42e94e092884"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Krylov = "ba0b0d4f-ebba-5204-a429-3ac8c609bfb7"
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195"
ODEConvergenceTester = "42a5c2e1-f365-4540-8ca5-3684de3ecd95"
PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Aqua","CUDA","ClimaCore","Distributions","Krylov","ODEConvergenceTester","PrettyTables","Random","SafeTestsets","Test"]
test = ["Aqua","ClimaCore","Distributions","Krylov", "MPI","ODEConvergenceTester","PrettyTables","Random","SafeTestsets","Test"]
10 changes: 0 additions & 10 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
using SafeTestsets

#=
TODO: add separate GPU tests
if get(ARGS,1,"Array") == "CuArray"
using CUDA
const ArrayType = CUDA.CuArray
else
const ArrayType = Array
end
=#

@safetestset "SparseContainers" begin
include("sparse_containers.jl")
end
Expand Down

0 comments on commit eb0759a

Please sign in to comment.