Skip to content

Commit

Permalink
Added comment to array appending
Browse files Browse the repository at this point in the history
  • Loading branch information
jataylo committed Sep 22, 2022
1 parent 6b56f5e commit e32457b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manywheel/build_rocm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ OS_SO_FILES=()
for lib in "${OS_SO_PATHS[@]}"
do
file_name="${lib##*/}" # Substring removal of path to get filename
OS_SO_FILES[${#OS_SO_FILES[@]}]=$file_name
OS_SO_FILES[${#OS_SO_FILES[@]}]=$file_name # Append lib to array
done

# To make version comparison easier, create an integer representation.
Expand Down Expand Up @@ -152,7 +152,7 @@ do
if [[ -z $file_path ]]; then
file_path=($(find $ROCM_HOME/ -name "$lib")) # Then search in ROCM_HOME
fi
ROCM_SO_PATHS[${#ROCM_SO_PATHS[@]}]="$file_path"
ROCM_SO_PATHS[${#ROCM_SO_PATHS[@]}]="$file_path" # Append lib to array
done

DEPS_LIST=(
Expand Down

0 comments on commit e32457b

Please sign in to comment.