Skip to content

Commit

Permalink
Merge pull request #87 from arvindcheru/master-libcheck-fix-patch-220422
Browse files Browse the repository at this point in the history
Lib Path check fail fix
  • Loading branch information
domcharrier authored Apr 23, 2022
2 parents 2969a9c + 3690281 commit 71a76a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/hipfc
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,11 @@ function addrocmlib(){
for ext in "so" "a"; do
if [ -f "${dir}/lib${name}.${ext}" ]; then
libdir=${dir}
break 2
fi
done
done
if [[ -n ${libdir} ]]; then
if [[ -z ${libdir} ]]; then
echo "ERROR: Library $name could not be found in $ROCM_PATH/lib/ or $ROCM_PATH/$name/lib/"
echo " Please install $name"
exit $DEADRC
Expand Down

0 comments on commit 71a76a4

Please sign in to comment.