Skip to content

Commit

Permalink
Install the right cudatoolkit in the conda env in gpu/build.sh (#864)
Browse files Browse the repository at this point in the history
Authors:
  - Ashwin Srinath (https://github.com/shwina)

Approvers:
  - Ray Douglass (https://github.com/raydouglass)
  - Mark Harris (https://github.com/harrism)

URL: #864
  • Loading branch information
shwina authored Sep 13, 2021
1 parent 548a8ee commit 73256f3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ci/gpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ export HOME=$WORKSPACE
# Switch to project root; also root of repo checkout
cd $WORKSPACE

# Determine CUDA release version
export CUDA_REL=${CUDA_VERSION%.*}

# Get latest tag and number of commits since tag
export GIT_DESCRIBE_TAG=`git describe --abbrev=0 --tags`
export GIT_DESCRIBE_NUMBER=`git rev-list ${GIT_DESCRIBE_TAG}..HEAD --count`
Expand All @@ -39,7 +42,9 @@ gpuci_logger "Activate conda env"
conda activate rapids

# Install build env
gpuci_mamba_retry install rapids-build-env=${MINOR_VERSION}.*
gpuci_mamba_retry install -y \
"cudatoolkit=$CUDA_REL" \
"rapids-build-env=${MINOR_VERSION}.*"

# https://docs.rapids.ai/maintainers/depmgmt/
# conda remove --force rapids-build-env
Expand Down

0 comments on commit 73256f3

Please sign in to comment.