From b7e8d42f755278a4f413af4ac8d9174dc9eaa5a4 Mon Sep 17 00:00:00 2001 From: Sergii Dymchenko Date: Thu, 16 Nov 2023 14:04:47 -0800 Subject: [PATCH 1/2] desired_cuda -> DESIRED_CUDA Found with shellcheck --- manywheel/build_cuda.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manywheel/build_cuda.sh b/manywheel/build_cuda.sh index 31f4e263b..4cd66024c 100644 --- a/manywheel/build_cuda.sh +++ b/manywheel/build_cuda.sh @@ -47,7 +47,7 @@ if [[ -n "$DESIRED_CUDA" ]]; then # There really has to be a better way to do this - eli # Possibly limiting builds to specific cuda versions be delimiting images would be a choice if [[ "$OS_NAME" == *"Ubuntu"* ]]; then - echo "Switching to CUDA version $desired_cuda" + echo "Switching to CUDA version $DESIRED_CUDA" /builder/conda/switch_cuda_version.sh "${DESIRED_CUDA}" fi else From 8e121457c864e8e7e331d66d291b3326b0cf246b Mon Sep 17 00:00:00 2001 From: Sergii Dymchenko Date: Thu, 16 Nov 2023 14:38:37 -0800 Subject: [PATCH 2/2] Update manywheel/build_cuda.sh Co-authored-by: Nikita Shulga <2453524+malfet@users.noreply.github.com> --- manywheel/build_cuda.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manywheel/build_cuda.sh b/manywheel/build_cuda.sh index 4cd66024c..768f19cee 100644 --- a/manywheel/build_cuda.sh +++ b/manywheel/build_cuda.sh @@ -47,7 +47,7 @@ if [[ -n "$DESIRED_CUDA" ]]; then # There really has to be a better way to do this - eli # Possibly limiting builds to specific cuda versions be delimiting images would be a choice if [[ "$OS_NAME" == *"Ubuntu"* ]]; then - echo "Switching to CUDA version $DESIRED_CUDA" + echo "Switching to CUDA version ${DESIRED_CUDA}" /builder/conda/switch_cuda_version.sh "${DESIRED_CUDA}" fi else