diff options
author | AMD Toolchain Support <73240730+amd-toolchain-support@users.noreply.github.com> | 2024-05-24 19:49:18 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-24 16:19:18 +0200 |
commit | 24e1b56268898383f534906ebc2567c94c6fa280 (patch) | |
tree | f7a540d2c4479d696fbcbefe97aec3169dd2a942 /var | |
parent | eef6a79b35f3c44e0e481209bbaca0fe8f0fa048 (diff) | |
download | spack-24e1b56268898383f534906ebc2567c94c6fa280.tar.gz spack-24e1b56268898383f534906ebc2567c94c6fa280.tar.bz2 spack-24e1b56268898383f534906ebc2567c94c6fa280.tar.xz spack-24e1b56268898383f534906ebc2567c94c6fa280.zip |
uprof: update recipe, add missing dependency (#44293)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/amduprof/package.py | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/amduprof/package.py b/var/spack/repos/builtin/packages/amduprof/package.py index 8bd08ffb9f..ffd9ba5cca 100644 --- a/var/spack/repos/builtin/packages/amduprof/package.py +++ b/var/spack/repos/builtin/packages/amduprof/package.py @@ -3,28 +3,31 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +import os + from spack.package import * class Amduprof(Package): - """AMD uProf ("MICRO-prof") is a software profiling analysis tool for - x86 applications running on Windows, Linux and FreeBSD operating systems - and provides event information unique to the AMD "Zen"-based processors - and AMD Instinct(tm) MI Series accelerators. - """ + """AMD uProf ("MICRO-prof") is a software profiling analysis tool for x86 + applications running on Windows, Linux and FreeBSD operating systems and + provides event information unique to the AMD "Zen"-based processors and AMD + Instinct(tm) MI Series accelerators. AMD uProf enables the developer to better + understand the limiters of application performance and evaluate + improvements.""" homepage = "https://developer.amd.com/amd-uprof/" - url = "https://download.amd.com/developer/eula/uprof/AMDuProf_Linux_x64_4.2.850.tar.bz2" + url = f"file://{os.getcwd()}/AMDuProf_Linux_x64_4.2.850.tar.bz2" + manual_download = True - maintainers("zzzoom") + maintainers("amd-toolchain-support") version("4.2.850", sha256="f2d7c4eb9ec9c32845ff8f19874c1e6bcb0fa8ab2c12e73addcbf23a6d1bd623") - # TODO: build Power Profiling driver on Linux - # TODO: ROCm for GPU tracing and profiling - # TODO: BCC and eBPF for OS tracing + depends_on("binutils@2.27:", type="run") conflicts("platform=darwin") + requires("target=x86_64:", msg="AMD uProf available only on x86_64") def install(self, spec, prefix): install_tree(".", prefix) |