We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb49a9f commit 6a44376Copy full SHA for 6a44376
manywheel/build_rocm.sh
@@ -24,8 +24,12 @@ fi
24
#
25
# NOTE: We should first check `DESIRED_CUDA` when determining `ROCM_VERSION`
26
if [[ -n "$DESIRED_CUDA" ]]; then
27
- # rocm3.7, rocm3.5.1
28
- ROCM_VERSION="$DESIRED_CUDA"
+ if ! echo "${DESIRED_CUDA}"| grep "^rocm" >/dev/null 2>/dev/null; then
+ ROCM_VERSION="rocm${DESIRED_CUDA}"
29
+ else
30
+ # rocm3.7, rocm3.5.1
31
+ ROCM_VERSION="$DESIRED_CUDA"
32
+ fi
33
echo "Using $ROCM_VERSION as determined by DESIRED_CUDA"
34
else
35
echo "Must set DESIRED_CUDA"
0 commit comments