Skip to content

Commit

Permalink
Exit on missing file in build_rocm.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jataylo authored Feb 16, 2023
1 parent 21cc230 commit 9bf8a5f
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 @@ -168,8 +168,8 @@ do
file_path=($(find $ROCM_HOME/ -name "$lib")) # Then search in ROCM_HOME
fi
if [[ -z $file_path ]]; then
echo "Warning: Library file $lib is not found."
file_path="NOT_FOUND"
echo "Error: Library file $lib is not found." >&2
exit 1
fi
ROCM_SO_PATHS[${#ROCM_SO_PATHS[@]}]="$file_path" # Append lib to array
done
Expand Down

0 comments on commit 9bf8a5f

Please sign in to comment.