Skip to content

Commit

Permalink
develop all at once
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Sep 12, 2022
1 parent b9ab086 commit ba43cbd
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .ci/develop.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,27 @@ CI = parse(Bool, get(ENV, "CI", "false"))

@info "Develop..." CI

Pkg.develop(kernelabstractions)
pkgs = [kernelabstractions]

if !CI || BACKEND == "ROCM"
rockernels = Pkg.PackageSpec(path = joinpath(root_directory, "lib", "ROCKernels"))
Pkg.develop(rockernels)
push!(pkgs, rockernels)
end

if !CI || BACKEND == "CUDA"
cudakernels = Pkg.PackageSpec(path = joinpath(root_directory, "lib", "CUDAKernels"))
Pkg.develop(cudakernels)
push!(pkgs, cudakernels)
end

if !CI || BACKEND == "oneAPI"
oneapikernels = Pkg.PackageSpec(path = joinpath(root_directory, "lib", "oneAPIKernels"))
Pkg.develop(oneapikernels)
push!(pkgs, oneapikernels)
end

if VERSION < v"1.8"
kernelgradients = Pkg.PackageSpec(path = joinpath(root_directory, "lib", "KernelGradients"))
Pkg.develop(kernelgradients)
push!(pkgs, kernelgradients)
end
Pkg.develop(pkgs)
Pkg.build()
Pkg.precompile()

0 comments on commit ba43cbd

Please sign in to comment.