We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af8e18d commit e843eafCopy full SHA for e843eaf
manywheel/build_rocm.sh
@@ -25,11 +25,10 @@ fi
25
# NOTE: We should first check `DESIRED_CUDA` when determining `ROCM_VERSION`
26
if [[ -n "$DESIRED_CUDA" ]]; then
27
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"
+ export DESIRED_CUDA="rocm${DESIRED_CUDA}"
32
fi
+ # rocm3.7, rocm3.5.1
+ ROCM_VERSION="$DESIRED_CUDA"
33
echo "Using $ROCM_VERSION as determined by DESIRED_CUDA"
34
else
35
echo "Must set DESIRED_CUDA"
0 commit comments