do
/usr/bin/patchelf --set-rpath $DOTNET_MIC_DIR ${file}
done
- fi
- # generate native image for system
- dotnettool --ni-system --inputbubble --print-cmd
+ # generate native image for system
+ dotnettool --ni-system --inputbubble --print-cmd
- # generate native image for all app
- dotnettool --ni-regen-all-app --print-cmd
- dotnettool --tac-regen-all --print-cmd
+ # generate native image for all app
+ dotnettool --ni-regen-all-app --print-cmd
+ dotnettool --tac-regen-all --print-cmd
+ else
+ echo "Disable NI generation in riscv64"
+ fi
else
echo "There is no execute file - /usr/bin/dotnettool"
fi