Files
gentoo/dev-util/rt-tests/rt-tests-1.6.ebuild
T
Kurt Kanzenbach 0bbc3dee55 dev-util/rt-tests: A collection of latency testing tools (new package)
rt-tests contains a set of programs that test and measure various components of
real-time kernel behavior, such as timer latency, signal latency and the
functioning of priority-inheritance mutexes. Additionally it contains hackbench,
a program to generate work for the scheduler.

Closes: https://bugs.gentoo.org/705150
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
Closes: https://github.com/gentoo/gentoo/pull/14303
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2020-01-23 11:53:19 +02:00

35 lines
806 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=(python3_{6,7,8})
inherit python-single-r1
DESCRIPTION="A collection of latency testing tools for the linux(-rt) kernel"
HOMEPAGE="https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/about/"
SRC_URI="https://kernel.org/pub/linux/utils/rt-tests/${P}.tar.xz"
LICENSE="GPL-2 GPL-2+ LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="numa"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}
numa? ( sys-process/numactl )"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${P}-man-compression.patch" )
src_compile() {
emake $(usex numa 'NUMA=1' 'NUMA=0') all
}
src_install() {
emake prefix=/usr DESTDIR="${D}" install
python_fix_shebang "${ED}"
python_optimize
}