Add installers for rocm-6.3 and rhel-9.5 and update installer script template (#50)

* Add installers for rocm-6.3 and rhel-9.5
* Updated the template "rocprof-sys-install.py.in".
Fixed the installer for the "rocm-x.y.z" style tags.

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
This commit is contained in:
David Galiffi
2024-12-10 14:35:02 -05:00
committed by GitHub
parent b91bba9781
commit 7e2242414c
5 changed files with 87 additions and 26 deletions
+2 -1
View File
@@ -11,6 +11,7 @@ from urllib import request
from urllib.error import HTTPError
rocprofsys_version = "@ROCPROFSYS_VERSION@"
rocprofsys_git_tag = "@ROCPROFSYS_GIT_TAG@"
_rocm_path = os.environ.get("ROCM_PATH", "/opt/rocm")
_rocm_version = None
@@ -232,7 +233,7 @@ if __name__ == "__main__":
)
script = f"rocprofiler-systems-{rocprofsys_version}-{os_distrib}-{os_version}{rocm_version}{extensions}.sh"
url = f"https://github.com/ROCm/rocprofiler-systems/releases/download/v{rocprofsys_version}/{script}"
url = f"https://github.com/ROCm/rocprofiler-systems/releases/download/{rocprofsys_git_tag}/{script}"
download_dir = (
tempfile.mkdtemp(prefix="rocprof-sys-install-")
if args.download_path is None