amduprof: Add v5.0 (#47081)

Co-authored-by: vijay kallesh <Vijay-teekinavar.Kallesh@amd.com>
This commit is contained in:
AMD Toolchain Support 2024-10-19 07:00:25 +05:30 committed by GitHub
parent 31bdcd7dc6
commit 89ab47284f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,16 +16,29 @@ class Amduprof(Package):
understand the limiters of application performance and evaluate
improvements."""
homepage = "https://developer.amd.com/amd-uprof/"
url = f"file://{os.getcwd()}/AMDuProf_Linux_x64_4.2.850.tar.bz2"
homepage = "https://www.amd.com/en/developer/uprof.html"
manual_download = True
maintainers("amd-toolchain-support")
version("4.2.850", sha256="f2d7c4eb9ec9c32845ff8f19874c1e6bcb0fa8ab2c12e73addcbf23a6d1bd623")
version(
"5.0.1479",
sha256="065d24d9b84d2ef94ae8a360bf55c74a0f3fe9250b01cc7fb2642495028130d5",
url="file://{0}/AMDuProf_Linux_x64_5.0.1479.tar.bz2".format(os.getcwd()),
preferred=True,
)
version(
"4.2.850",
sha256="f2d7c4eb9ec9c32845ff8f19874c1e6bcb0fa8ab2c12e73addcbf23a6d1bd623",
url="file://{0}/AMDuProf_Linux_x64_4.2.850.tar.bz2".format(os.getcwd()),
)
depends_on("binutils@2.27:", type="run")
# Licensing
license_required = True
license_url = "https://www.amd.com/en/developer/uprof/uprof-eula.html"
conflicts("platform=darwin")
requires("target=x86_64:", msg="AMD uProf available only on x86_64")