File rt-tests.spec of Package rt-tests

# spec file for package rt-tests
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# 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

Name:           rt-tests
Version:        1.3
Release:        0
Summary:        Realtime Kernel Testsuite
License:        GPL-2.0-only
Group:          System/Benchmark
BuildRequires:  libnuma-devel
BuildRequires:  python-rpm-macros
BuildRequires:  python2-base
Conflicts:      hackbench
# Only supported on intel architectures
ExclusiveArch:  %{ix86} x86_64

The Realtime Kernel Testsuite measures real-time attributes of the kernel,
specifically timer and signal latency and the functionality of Priority
Inheritance Mutexes.

%setup -q

export CFLAGS="%{optflags}"
make %{?_smp_mflags}

%make_install prefix=%{_prefix}
rm -rf %{buildroot}%{_prefix}/src/backfire

%license COPYING