From 2c30962c744d2b292a88b7c957c2f91b815aaf79 Mon Sep 17 00:00:00 2001 From: Carlos Bederián <4043375+zzzoom@users.noreply.github.com> Date: Thu, 14 Mar 2024 03:44:43 -0300 Subject: amduprof: new package (#30575) Co-authored-by: zzzoom --- .../repos/builtin/packages/amduprof/package.py | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 var/spack/repos/builtin/packages/amduprof/package.py 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) -- cgit v1.2.3-70-g09d2