Skip to content

Commit e843eaf

Browse files
authored
manywheel: Switch DESIRED_CUDA since other scripts rely on it (#626)
Signed-off-by: Eli Uriegas <[email protected]>
1 parent af8e18d commit e843eaf

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

manywheel/build_rocm.sh

+3-4
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ fi
2525
# NOTE: We should first check `DESIRED_CUDA` when determining `ROCM_VERSION`
2626
if [[ -n "$DESIRED_CUDA" ]]; then
2727
if ! echo "${DESIRED_CUDA}"| grep "^rocm" >/dev/null 2>/dev/null; then
28-
ROCM_VERSION="rocm${DESIRED_CUDA}"
29-
else
30-
# rocm3.7, rocm3.5.1
31-
ROCM_VERSION="$DESIRED_CUDA"
28+
export DESIRED_CUDA="rocm${DESIRED_CUDA}"
3229
fi
30+
# rocm3.7, rocm3.5.1
31+
ROCM_VERSION="$DESIRED_CUDA"
3332
echo "Using $ROCM_VERSION as determined by DESIRED_CUDA"
3433
else
3534
echo "Must set DESIRED_CUDA"

0 commit comments

Comments
 (0)