Skip to content

Commit

Permalink
Buildkite: Attempt to fix CUDA install
Browse files Browse the repository at this point in the history
  • Loading branch information
stemann committed Nov 7, 2024
1 parent d674858 commit 5d1cfc1
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .buildkite/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ steps:
matrix:
setup:
julia_version:
- "1.6"
- "1.7" # For Pkg artifact selection
cuda_version:
- "10.2"
- "11.3"
Expand All @@ -17,11 +17,12 @@ steps:
- JuliaCI/julia-test#v1: ~
env:
CUDA_VERSION: "{{matrix.cuda_version}}"
JULIA_DEBUG: Pkg
command: |
CUDA_VERSION_MAJOR_MINOR=$$(echo $$CUDA_VERSION | cut -d . -f 1-2)
TMP_PROJECT=$$(mktemp -d)
cd $$TMP_PROJECT
touch Project.toml
# TMP_PROJECT=$$(mktemp -d)
# cd $$TMP_PROJECT
# touch Project.toml
cat <<EOT > LocalPreferences.toml
[CUDA_Runtime_jll]
version = "$$CUDA_VERSION_MAJOR_MINOR"
Expand All @@ -37,12 +38,14 @@ steps:
else
Pkg.add(name="CUDA_Runtime_jll")
end
Pkg.add(name="CEnum", version="0.4") # To support CUDA v2.5
using CUDA_Runtime_jll
println(CUDA_Runtime_jll.artifact_dir)
'`
ls -1 $$CUDA_RUNTIME_ROOT/lib/libcudart*
export LD_LIBRARY_PATH=$$CUDA_RUNTIME_ROOT/lib
cd $$BUILDKITE_BUILD_CHECKOUT_PATH
# cd $$BUILDKITE_BUILD_CHECKOUT_PATH
timeout_in_minutes: 60

0 comments on commit 5d1cfc1

Please sign in to comment.