Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37841679
en ru br
ALT Linux repos
S:1.6.1-alt0.1

Group :: System/Configuration/Hardware
RPM: radeon-memory-visualizer

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define optflags_lto %nil

Name: radeon-memory-visualizer
Version: 1.6.1
Release: alt0.1
License: MIT
Summary: Software tool to analyze video memory usage on AMD Radeon GPUs
Url: https://github.com/GPUOpen-Tools/radeon_memory_visualizer
Group: System/Configuration/Hardware

Source: %name-%version.tar
Patch: %name-%version-%release.patch

BuildRequires(pre): cmake
BuildRequires: gcc-c++ qt5-svg-devel python3-module-sphinx-sphinx-build-symlink
BuildRequires: python3-module-sphinx_rtd_theme

Requires: %name-data = %EVR

# doesn't compile on 32-bit

ExclusiveArch: aarch64 x86_64 ppc64le

%description
The Radeon Memory Visualizer (RMV) is a software tool that will allow users to
analyze video memory usage on AMD Radeon GPUs. RMV will reveal detailed
information regarding an application's video memory consumption and access
patterns. This will allow users to understand how memory is being leveraged and
open the door to new optimization opportunities.

%package data
Summary: help and samples for RMV
Group: System/Configuration/Hardware
BuildArch: noarch

%description data
Samples and help files for Radeon Memory Visualizer (RMV).

%prep
%setup
%patch -p1

%build
%cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DDISABLE_EXTRA_QT_LIB_DEPLOY=ON
%cmake_build
pushd external/radeon_developer_panel/docs
/usr/bin/sphinx-build ./source %_builddir/%name-%version/%_cmake__builddir/docs/help/rdp/html/. -t public
popd

%install
pushd %_cmake__builddir
mkdir -p %buildroot{%_bindir,%_datadir/rmv}
install -m755 frontend/RadeonMemoryVisualizer %buildroot%_bindir/
cp -ar docs %buildroot%_datadir/rmv/
cp -ar samples %buildroot%_datadir/rmv/
popd
install -m644 License.txt %buildroot%_datadir/rmv/

%files
%doc License.txt NOTICES.txt README.md Release_Notes.txt
%_bindir/RadeonMemoryVisualizer

%files data
%dir %_datadir/rmv
%_datadir/rmv/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin