summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorpettai <pettai>2012-09-30 22:06:17 +0000
committerpettai <pettai>2012-09-30 22:06:17 +0000
commit7612b2c82585c4026cc0dc2eff937dc1d33e2d5f (patch)
treec5a53ae53df54019184b6352a2915fc57dbc9ac3 /devel
parentb2a5e7a7b5469d90d6a2d1fd1426d0b1de690f8d (diff)
downloadpkgsrc-7612b2c82585c4026cc0dc2eff937dc1d33e2d5f.tar.gz
liburcu is a userspace RCU (read-copy-update) library. This data
synchronization library provides read-side access which scales linearly with the number of cores. It does so by allowing multiples copies of a given data structure to live at the same time, and by monitoring the data structure accesses to detect grace periods after which memory reclamation is possible.
Diffstat (limited to 'devel')
-rw-r--r--devel/userspace-rcu/DESCR6
-rw-r--r--devel/userspace-rcu/Makefile31
-rw-r--r--devel/userspace-rcu/PLIST60
-rw-r--r--devel/userspace-rcu/buildlink3.mk12
-rw-r--r--devel/userspace-rcu/distinfo5
5 files changed, 114 insertions, 0 deletions
diff --git a/devel/userspace-rcu/DESCR b/devel/userspace-rcu/DESCR
new file mode 100644
index 00000000000..60fb4095b3b
--- /dev/null
+++ b/devel/userspace-rcu/DESCR
@@ -0,0 +1,6 @@
+liburcu is a userspace RCU (read-copy-update) library. This data
+synchronization library provides read-side access which scales linearly
+with the number of cores. It does so by allowing multiples copies of a
+given data structure to live at the same time, and by monitoring the
+data structure accesses to detect grace periods after which memory
+reclamation is possible.
diff --git a/devel/userspace-rcu/Makefile b/devel/userspace-rcu/Makefile
new file mode 100644
index 00000000000..c9b5c5752a9
--- /dev/null
+++ b/devel/userspace-rcu/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2012/09/30 22:06:17 pettai Exp $
+#
+
+DISTNAME= userspace-rcu-0.7.3
+CATEGORIES= devel
+MASTER_SITES= http://lttng.org/files/urcu/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pettai@NetBSD.org
+HOMEPAGE= http://lttng.org/urcu
+COMMENT= Userspace RCU (Read Copy Update)
+LICENSE= gnu-lgpl-v2.1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake pkg-config
+
+# liburcu requires TLS support, thus,
+# only NetBSD-6 or later is supported
+NOT_FOR_PLATFORM= NetBSD-[0-5]*-*
+
+PKGCONFIG_OVERRIDE+= liburcu-bp.pc.in
+PKGCONFIG_OVERRIDE+= liburcu-cds.pc.in
+PKGCONFIG_OVERRIDE+= liburcu-mb.pc.in
+PKGCONFIG_OVERRIDE+= liburcu-qsbr.pc.in
+PKGCONFIG_OVERRIDE+= liburcu-signal.pc.in
+PKGCONFIG_OVERRIDE+= liburcu.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/userspace-rcu/PLIST b/devel/userspace-rcu/PLIST
new file mode 100644
index 00000000000..901e23b406f
--- /dev/null
+++ b/devel/userspace-rcu/PLIST
@@ -0,0 +1,60 @@
+@comment $NetBSD: PLIST,v 1.1 2012/09/30 22:06:17 pettai Exp $
+include/urcu-bp.h
+include/urcu-call-rcu.h
+include/urcu-defer.h
+include/urcu-flavor.h
+include/urcu-pointer.h
+include/urcu-qsbr.h
+include/urcu.h
+include/urcu/arch.h
+include/urcu/arch/generic.h
+include/urcu/cds.h
+include/urcu/compiler.h
+include/urcu/config.h
+include/urcu/futex.h
+include/urcu/hlist.h
+include/urcu/list.h
+include/urcu/map/urcu-bp.h
+include/urcu/map/urcu-qsbr.h
+include/urcu/map/urcu.h
+include/urcu/rcuhlist.h
+include/urcu/rculfhash.h
+include/urcu/rculfqueue.h
+include/urcu/rculfstack.h
+include/urcu/rculist.h
+include/urcu/ref.h
+include/urcu/static/rculfqueue.h
+include/urcu/static/rculfstack.h
+include/urcu/static/urcu-bp.h
+include/urcu/static/urcu-pointer.h
+include/urcu/static/urcu-qsbr.h
+include/urcu/static/urcu.h
+include/urcu/static/wfqueue.h
+include/urcu/static/wfstack.h
+include/urcu/system.h
+include/urcu/tls-compat.h
+include/urcu/uatomic.h
+include/urcu/uatomic/generic.h
+include/urcu/uatomic_arch.h
+include/urcu/urcu-futex.h
+include/urcu/urcu_ref.h
+include/urcu/wfqueue.h
+include/urcu/wfstack.h
+lib/liburcu-bp.la
+lib/liburcu-cds.la
+lib/liburcu-common.la
+lib/liburcu-mb.la
+lib/liburcu-qsbr.la
+lib/liburcu-signal.la
+lib/liburcu.la
+lib/pkgconfig/liburcu-bp.pc
+lib/pkgconfig/liburcu-cds.pc
+lib/pkgconfig/liburcu-mb.pc
+lib/pkgconfig/liburcu-qsbr.pc
+lib/pkgconfig/liburcu-signal.pc
+lib/pkgconfig/liburcu.pc
+share/doc/userspace-rcu/ChangeLog
+share/doc/userspace-rcu/README
+share/doc/userspace-rcu/cds-api.txt
+share/doc/userspace-rcu/rcu-api.txt
+share/doc/userspace-rcu/uatomic-api.txt
diff --git a/devel/userspace-rcu/buildlink3.mk b/devel/userspace-rcu/buildlink3.mk
new file mode 100644
index 00000000000..a09d12469fb
--- /dev/null
+++ b/devel/userspace-rcu/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2012/09/30 22:06:17 pettai Exp $
+
+BUILDLINK_TREE+= userspace-rcu
+
+.if !defined(USERSPACE_RCU_BUILDLINK3_MK)
+USERSPACE_RCU_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.userspace-rcu+= userspace-rcu>=0.7.3
+BUILDLINK_PKGSRCDIR.userspace-rcu?= ../../devel/userspace-rcu
+.endif # USERSPACE_RCU_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -userspace-rcu
diff --git a/devel/userspace-rcu/distinfo b/devel/userspace-rcu/distinfo
new file mode 100644
index 00000000000..8e1db2c70bc
--- /dev/null
+++ b/devel/userspace-rcu/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/09/30 22:06:17 pettai Exp $
+
+SHA1 (userspace-rcu-0.7.3.tar.bz2) = 0585e06068f766c42602b32c20baf241258440ba
+RMD160 (userspace-rcu-0.7.3.tar.bz2) = 96efc29d11339334adda3b8917aa74d2878d03fb
+Size (userspace-rcu-0.7.3.tar.bz2) = 385350 bytes