Sisyphus repository
Last update: 2 december 2020 | SRPMs: 17751 | Visits: 19741117
en ru br
ALT Linux repos
S:1.9-alt2

Group :: System/Kernel and hardware
RPM: linux-rt-tests

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# SPDX-License-Identifier: GPL-2.0-only
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1

# rt-tests is taken by perl tests for RT

Name:     linux-rt-tests
Version:  1.9
Release:  alt2

Summary:  Programs that test various rt-linux features
License:  GPL-2.0-or-later
Group:    System/Kernel and hardware
Url:      https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/rt-tests
Vcs:      git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git

Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: libnuma-devel

%description
rt-tests is a test suite, that contains programs (such as cyclictest,
hwlatdetect, hackbench) to test various Real Time Linux features.

%prep
%setup
%ifarch aarch64 armh
 # src/oslat/oslat.c:72:4: error: #error Need frc() for this platform.
 sed -i '/oslat\.[c8]/d' Makefile
%endif

%build
%make_build CFLAGS="%optflags" prefix=/usr

%install
%makeinstall_std prefix=/usr

%files
%doc COPYING MAINTAINERS README.markdown src/hwlatdetect/hwlat.txt
%_bindir/*
#%_sbindir/hwlatdetect
%python3_sitelibdir_noarch/*.py
%_man8dir/*.8*

%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