diff options
author | Carlos Bederián <4043375+zzzoom@users.noreply.github.com> | 2024-03-14 03:44:43 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 07:44:43 +0100 |
commit | 2c30962c744d2b292a88b7c957c2f91b815aaf79 (patch) | |
tree | e29e6a0e72af6fb7a64aa94a07c806f5bce96d8b | |
parent | cc2833404963055b90df8a972be79ed9c39ed560 (diff) | |
download | spack-2c30962c744d2b292a88b7c957c2f91b815aaf79.tar.gz spack-2c30962c744d2b292a88b7c957c2f91b815aaf79.tar.bz2 spack-2c30962c744d2b292a88b7c957c2f91b815aaf79.tar.xz spack-2c30962c744d2b292a88b7c957c2f91b815aaf79.zip |
amduprof: new package (#30575)
Co-authored-by: zzzoom <zzzoom@users.noreply.github.com>
-rw-r--r-- | var/spack/repos/builtin/packages/amduprof/package.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/amduprof/package.py b/var/spack/repos/builtin/packages/amduprof/package.py new file mode 100644 index 0000000000..8bd08ffb9f --- /dev/null +++ b/var/spack/repos/builtin/packages/amduprof/package.py @@ -0,0 +1,30 @@ +# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +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. + """ + + homepage = "https://developer.amd.com/amd-uprof/" + url = "https://download.amd.com/developer/eula/uprof/AMDuProf_Linux_x64_4.2.850.tar.bz2" + + maintainers("zzzoom") + + 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 + + conflicts("platform=darwin") + + def install(self, spec, prefix): + install_tree(".", prefix) |