Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
hardware
umr
umr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File umr.spec of Package umr
# # spec file for package umr # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global _lto_cflags %{?_lto_cflags} -ffat-lto-objects %global optflags %optflags %{_lto_cflags} %bcond_without gui Name: umr Version: 1.0.8 Release: 0 Summary: User Mode Register Debugger for AMDGPU Hardware License: MIT Group: Development/Tools/Other URL: https://gitlab.freedesktop.org/tomstdenis/umr Source0: https://gitlab.freedesktop.org/tomstdenis/umr/-/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake >= 3.15 BuildRequires: gcc-c++ BuildRequires: llvm-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(json-c) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(nanomsg) BuildRequires: pkgconfig(ncurses) BuildRequires: pkgconfig(pciaccess) ExclusiveArch: x86_64 aarch64 ppc64le ppc64 i686 i586 riscv %if %{with gui} BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(opengl) BuildRequires: pkgconfig(sdl2) %endif %description umr is a userspace debugging and diagnostic tool for AMD GPUs using the AMDGPU kernel driver with limited support for driverless debugging (via PCI direct access). The tool allows reading/writing MMIO registers, analyzing wavefronts, ring contents, as well as performance tracking. It supports hardware from SI based hardware onwards and requires a v4.10 kernel or newer to function correctly. Older kernels (not older than v4.8) may work but with limited functionality/stability. Older kernels are not supported officially so please refrain from submitting bug reports in relation to them. %package bash-completion Summary: Bash Completion for %{name} Group: System/Shells Requires: %{name} = %{version} Requires: bash-completion Supplements: (%{name} and bash) BuildArch: noarch %description bash-completion Bash command line completion support for %{name}. %package devel Summary: Header files for umr Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel Headers and static libs for UMR %prep %autosetup -p1 %build %cmake \ -DUMR_GUI:BOOL=%with_gui %cmake_build %install %cmake_install %if %{without gui} rm -f %{?buildroot}%{_bindir}/umrgui %endif %files %doc README %license LICENSE %{_bindir}/%{name} %{_bindir}/umrtest %{_datadir}/%{name} %{_mandir}/man?/%{name}.?%{?ext_man} %if %{with gui} %{_bindir}/%{name}gui %endif %files bash-completion %{_datadir}/bash-completion/completions/%{name} %files devel %{_includedir}/umr.h %{_includedir}/umrapp.h %{_libdir}/libumrlow.so %{_libdir}/libumrcore.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor