# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

PortGroup           legacysupport 1.1

name                userspace-rcu
version             0.15.7
revision            0

categories          devel
license             LGPL-2.1
maintainers         {mps @Schamschula} openmaintainer
description         A userspace RCU (read-copy-update) library, liburcu.
long_description    {*}${description} This data synchronization library provides \
                    read-side access which scales linearly with the number of cores.
homepage            https://liburcu.org
master_sites        https://lttng.org/files/urcu/

checksums           rmd160  a5f068cabac9f3f7771e972b12c5257a1d25dedd \
                    sha256  2556b83adc0f9b3ac8024e613e17d014d04c4c49110604ce55fcb14eae32edd3 \
                    size    687049

use_bzip2           yes

# https://github.com/urcu/userspace-rcu/pull/22
patchfiles          patch-include-urcu-arch-ppc.h.diff

# It requires C++11, otherwise configure fails.
compiler.cxx_standard \
                    2011

configure.args      --disable-silent-rules

test.run            yes
test.target         check
