rocmPackages: remove version checks from update scripts

The update script for hsa-amd-aqlprofile-bin did not work.
It fails to update the source URL and hash.
This commit is contained in:
Martin Schwaighofer 2024-02-10 00:30:24 +01:00
parent 9fe4830c7d
commit e68d1f513b
2 changed files with 0 additions and 10 deletions

View File

@ -39,11 +39,6 @@ let
version="$(echo $extVersion | sed "s/0/./1" | sed "s/0/./1")"
IFS='.' read -a version_arr <<< "$version"
if (( ''${version_arr[0]} > 5 )); then
echo "'rocmPackages_5.${prefix}-bin' is already at it's maximum allowed version.''\nAny further upgrades should go into 'rocmPackages_X.${prefix}-bin'." 1>&2
exit 1
fi
if (( ''${#extVersion} == 5 )); then
repoVersion="$version"

View File

@ -23,11 +23,6 @@ let
IFS='.' read -a version_arr <<< "$version"
if (( ''${version_arr[0]} > 5 )); then
echo "'rocmPackages_5.${pname}' is already at it's maximum allowed version.''\nAny further upgrades should go into 'rocmPackages_X.${pname}'." 1>&2
exit 1
fi
if [ "''${#version_arr[*]}" == 2 ]; then
version="''${version}.0"
fi