dev-libs/userspace-rcu - 0.15.7 (gentoo)

Search

Install

Install this version:

emerge -a =dev-libs/userspace-rcu-0.15.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/userspace-rcu-0.15.7

Or alternatively:

emerge --autounmask-write -a =dev-libs/userspace-rcu-0.15.7

Package Information

Description:
Userspace RCU (read-copy-update) library
Homepage:
https://liburcu.org/
License:
LGPL-2.1

Ebuild Details

Version EAPI Keywords Slot
0.15.7 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 0/8
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/mathieudesnoyers.asc
inherit autotools verify-sig

DESCRIPTION="Userspace RCU (read-copy-update) library"
HOMEPAGE="https://liburcu.org/"
SRC_URI="
	https://lttng.org/files/urcu/${P}.tar.bz2
	verify-sig? ( https://lttng.org/files/urcu/${P}.tar.bz2.asc )
"

LICENSE="LGPL-2.1"
SLOT="0/8" # subslot = soname version
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="static-libs test"
RESTRICT="!test? ( test )"

BDEPEND="
	test? ( sys-process/time )
	verify-sig? ( sec-keys/openpgp-keys-mathieudesnoyers )
"

PATCHES=(
	"${FILESDIR}"/${PN}-0.13.1-tests-no-benchmark.patch
)

src_prepare() {
	default

	# Needed for tests patch
	# ... and refresh libtool (see https://github.com/gentoo/gentoo/pull/23973)
	eautoreconf
}

src_configure() {
	local myeconfargs=(
		--enable-shared
		$(use_enable static-libs static)
	)

	econf "${myeconfargs[@]}"
}

src_test() {
	default

	emake -C tests/regression regtest

	# We don't run the benchmark tests.
	rm tests/benchmark/test-suite.log || die
}

src_install() {
	default

	find "${ED}" -type f -name "*.la" -delete || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-libs/userspace-rcu | euse -E <flag> -p dev-libs/userspace-rcu | euse -D <flag> -p dev-libs/userspace-rcu

Global/Standard Flags

Inherited Eclasses

Dependencies

BDEPEND

	test? ( sys-process/time )
	verify-sig? ( sec-keys/openpgp-keys-mathieudesnoyers )

Manifest for 0.15.7

Type File Size Source URLs
DIST userspace-rcu-0.15.7.tar.bz2 687049 bytes https://lttng.org/files/urcu/userspace-rcu-0.15.7.tar.bz2
DIST userspace-rcu-0.15.7.tar.bz2.asc 488 bytes https://lttng.org/files/urcu/userspace-rcu-0.15.7.tar.bz2.asc