aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2013-06-25 21:31:45 +0800
committerkoobs <koobs@FreeBSD.org>2013-06-25 21:31:45 +0800
commit49ad18d8ec2327b252b2820396a5242c7c5007b1 (patch)
treea636513befd5f7302f7a1ae03b0f57ab35befcd5
parent860e8eedcefcffc64a178f76dc8d6f941264718f (diff)
downloadfreebsd-ports-gnome-49ad18d8ec2327b252b2820396a5242c7c5007b1.tar.gz
freebsd-ports-gnome-49ad18d8ec2327b252b2820396a5242c7c5007b1.tar.zst
freebsd-ports-gnome-49ad18d8ec2327b252b2820396a5242c7c5007b1.zip
devel/concurrencykit: [NEW PORT] Lock-free data structures for high performance concurrent systems
Concurrency Kit provides a plethora of concurrency primitives, safe memory reclamation mechanisms and non-blocking data structures designed to aid in the design and implementation of high performance concurrent systems. WWW: http://concurrencykit.org Reviewed by: Samy Bahra
-rw-r--r--devel/Makefile1
-rw-r--r--devel/concurrencykit/Makefile30
-rw-r--r--devel/concurrencykit/Makefile.man123
-rw-r--r--devel/concurrencykit/distinfo2
-rw-r--r--devel/concurrencykit/pkg-descr5
-rw-r--r--devel/concurrencykit/pkg-plist51
6 files changed, 212 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 6e9a8f0b26e8..b1e2e7081feb 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -257,6 +257,7 @@
SUBDIR += commoncpp
SUBDIR += compiler-rt
SUBDIR += compiz-bcop
+ SUBDIR += concurrencykit
SUBDIR += configkit
SUBDIR += cons
SUBDIR += cons-test
diff --git a/devel/concurrencykit/Makefile b/devel/concurrencykit/Makefile
new file mode 100644
index 000000000000..5de6adb5db10
--- /dev/null
+++ b/devel/concurrencykit/Makefile
@@ -0,0 +1,30 @@
+# Created by: Kubilay Kocak <koobs@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= concurrencykit
+PORTVERSION= 0.2.19
+CATEGORIES= devel
+MASTER_SITES= http://concurrencykit.org/releases/ \
+ http://repnop.org/releases/
+DISTNAME= ck-${PORTVERSION}
+
+MAINTAINER= koobs@FreeBSD.org
+COMMENT= Lock-free data structures for high performance concurrent systems
+
+LICENSE= BSD
+
+USES= pkgconfig
+USE_LDCONFIG= yes
+
+GNU_CONFIGURE= yes
+
+.include "${.CURDIR}/Makefile.man"
+
+post-extract:
+ ${REINPLACE_CMD} -e 's|PKGCONFIG_DATA=@LIBRARY@|PKGCONFIG_DATA=${PREFIX}/libdata/|g' \
+ ${WRKSRC}/Makefile.in
+
+regression-test: build
+ @cd ${WRKSRC} && ${MAKE} check
+
+.include <bsd.port.mk>
diff --git a/devel/concurrencykit/Makefile.man b/devel/concurrencykit/Makefile.man
new file mode 100644
index 000000000000..5723ee20516a
--- /dev/null
+++ b/devel/concurrencykit/Makefile.man
@@ -0,0 +1,123 @@
+MAN3= ck_bag_allocator_set.3.gz
+MAN3+= ck_bag_block_count.3.gz
+MAN3+= ck_bag_block_next.3.gz
+MAN3+= ck_bag_count.3.gz
+MAN3+= ck_bag_destroy.3.gz
+MAN3+= ck_bag_init.3.gz
+MAN3+= ck_bag_iterator_init.3.gz
+MAN3+= ck_bag_member_spmc.3.gz
+MAN3+= ck_bag_next.3.gz
+MAN3+= ck_bag_put_spmc.3.gz
+MAN3+= ck_bag_remove_spmc.3.gz
+MAN3+= ck_bag_set_spmc.3.gz
+MAN3+= ck_bitmap_base.3.gz
+MAN3+= ck_bitmap_bits.3.gz
+MAN3+= ck_bitmap_buffer.3.gz
+MAN3+= ck_bitmap_clear.3.gz
+MAN3+= ck_bitmap_init.3.gz
+MAN3+= ck_bitmap_iterator_init.3.gz
+MAN3+= ck_bitmap_next.3.gz
+MAN3+= ck_bitmap_reset_mpmc.3.gz
+MAN3+= ck_bitmap_set_mpmc.3.gz
+MAN3+= ck_bitmap_size.3.gz
+MAN3+= ck_bitmap_test.3.gz
+MAN3+= ck_cohort.3.gz
+MAN3+= CK_COHORT_INIT.3.gz
+MAN3+= CK_COHORT_INSTANCE.3.gz
+MAN3+= CK_COHORT_LOCK.3.gz
+MAN3+= CK_COHORT_PROTOTYPE.3.gz
+MAN3+= CK_COHORT_TRYLOCK.3.gz
+MAN3+= CK_COHORT_TRYLOCK_PROTOTYPE.3.gz
+MAN3+= CK_COHORT_UNLOCK.3.gz
+MAN3+= ck_epoch_barrier.3.gz
+MAN3+= ck_epoch_begin.3.gz
+MAN3+= ck_epoch_call.3.gz
+MAN3+= ck_epoch_end.3.gz
+MAN3+= ck_epoch_init.3.gz
+MAN3+= ck_epoch_poll.3.gz
+MAN3+= ck_epoch_reclaim.3.gz
+MAN3+= ck_epoch_recycle.3.gz
+MAN3+= ck_epoch_register.3.gz
+MAN3+= ck_epoch_synchronize.3.gz
+MAN3+= ck_epoch_unregister.3.gz
+MAN3+= ck_hs_count.3.gz
+MAN3+= ck_hs_destroy.3.gz
+MAN3+= ck_hs_get.3.gz
+MAN3+= ck_hs_fas.3.gz
+MAN3+= ck_hs_grow.3.gz
+MAN3+= CK_HS_HASH.3.gz
+MAN3+= ck_hs_init.3.gz
+MAN3+= ck_hs_iterator_init.3.gz
+MAN3+= ck_hs_next.3.gz
+MAN3+= ck_hs_put.3.gz
+MAN3+= ck_hs_remove.3.gz
+MAN3+= ck_hs_reset.3.gz
+MAN3+= ck_hs_reset_size.3.gz
+MAN3+= ck_hs_set.3.gz
+MAN3+= ck_hs_stat.3.gz
+MAN3+= ck_ht_count.3.gz
+MAN3+= ck_ht_destroy.3.gz
+MAN3+= ck_ht_entry_empty.3.gz
+MAN3+= ck_ht_entry_key.3.gz
+MAN3+= ck_ht_entry_key_direct.3.gz
+MAN3+= ck_ht_entry_key_length.3.gz
+MAN3+= ck_ht_entry_key_set.3.gz
+MAN3+= ck_ht_entry_key_set_direct.3.gz
+MAN3+= ck_ht_entry_set.3.gz
+MAN3+= ck_ht_entry_set_direct.3.gz
+MAN3+= ck_ht_entry_value.3.gz
+MAN3+= ck_ht_entry_value_direct.3.gz
+MAN3+= ck_ht_get_spmc.3.gz
+MAN3+= ck_ht_grow_spmc.3.gz
+MAN3+= ck_ht_hash.3.gz
+MAN3+= ck_ht_hash_direct.3.gz
+MAN3+= ck_ht_init.3.gz
+MAN3+= ck_ht_iterator_init.3.gz
+MAN3+= ck_ht_next.3.gz
+MAN3+= ck_ht_put_spmc.3.gz
+MAN3+= ck_ht_remove_spmc.3.gz
+MAN3+= ck_ht_reset_size_spmc.3.gz
+MAN3+= ck_ht_reset_spmc.3.gz
+MAN3+= ck_ht_set_spmc.3.gz
+MAN3+= ck_ht_stat.3.gz
+MAN3+= ck_pr.3.gz
+MAN3+= ck_pr_add.3.gz
+MAN3+= ck_pr_and.3.gz
+MAN3+= ck_pr_barrier.3.gz
+MAN3+= ck_pr_btc.3.gz
+MAN3+= ck_pr_btr.3.gz
+MAN3+= ck_pr_bts.3.gz
+MAN3+= ck_pr_cas.3.gz
+MAN3+= ck_pr_dec.3.gz
+MAN3+= ck_pr_faa.3.gz
+MAN3+= ck_pr_fas.3.gz
+MAN3+= ck_pr_fence_atomic.3.gz
+MAN3+= ck_pr_fence_atomic_load.3.gz
+MAN3+= ck_pr_fence_atomic_store.3.gz
+MAN3+= ck_pr_fence_load.3.gz
+MAN3+= ck_pr_fence_load_atomic.3.gz
+MAN3+= ck_pr_fence_load_depends.3.gz
+MAN3+= ck_pr_fence_load_store.3.gz
+MAN3+= ck_pr_fence_memory.3.gz
+MAN3+= ck_pr_fence_store.3.gz
+MAN3+= ck_pr_fence_store_atomic.3.gz
+MAN3+= ck_pr_fence_store_load.3.gz
+MAN3+= ck_pr_inc.3.gz
+MAN3+= ck_pr_load.3.gz
+MAN3+= ck_pr_neg.3.gz
+MAN3+= ck_pr_not.3.gz
+MAN3+= ck_pr_or.3.gz
+MAN3+= ck_pr_stall.3.gz
+MAN3+= ck_pr_store.3.gz
+MAN3+= ck_pr_sub.3.gz
+MAN3+= ck_pr_xor.3.gz
+MAN3+= ck_ring_capacity.3.gz
+MAN3+= ck_ring_dequeue_spmc.3.gz
+MAN3+= ck_ring_dequeue_spsc.3.gz
+MAN3+= ck_ring_enqueue_spmc.3.gz
+MAN3+= ck_ring_enqueue_spmc_size.3.gz
+MAN3+= ck_ring_enqueue_spsc.3.gz
+MAN3+= ck_ring_enqueue_spsc_size.3.gz
+MAN3+= ck_ring_init.3.gz
+MAN3+= ck_ring_size.3.gz
+MAN3+= ck_ring_trydequeue_spmc.3.gz
diff --git a/devel/concurrencykit/distinfo b/devel/concurrencykit/distinfo
new file mode 100644
index 000000000000..5163123368cb
--- /dev/null
+++ b/devel/concurrencykit/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ck-0.2.19.tar.gz) = 7fe3627dc38aa7b58824959b95cc52d5a3858ec899d669fb43d81334695deb9f
+SIZE (ck-0.2.19.tar.gz) = 149574
diff --git a/devel/concurrencykit/pkg-descr b/devel/concurrencykit/pkg-descr
new file mode 100644
index 000000000000..d69df0a44884
--- /dev/null
+++ b/devel/concurrencykit/pkg-descr
@@ -0,0 +1,5 @@
+Concurrency Kit provides a plethora of concurrency primitives, safe memory
+reclamation mechanisms and non-blocking data structures designed to aid in
+the design and implementation of high performance concurrent systems.
+
+WWW: http://concurrencykit.org
diff --git a/devel/concurrencykit/pkg-plist b/devel/concurrencykit/pkg-plist
new file mode 100644
index 000000000000..c12555534bcf
--- /dev/null
+++ b/devel/concurrencykit/pkg-plist
@@ -0,0 +1,51 @@
+include/ck_backoff.h
+include/ck_stack.h
+include/ck_spinlock.h
+include/ck_sequence.h
+include/ck_rwlock.h
+include/ck_ring.h
+include/ck_queue.h
+include/ck_pr.h
+include/ck_pflock.h
+include/ck_md.h
+include/ck_malloc.h
+include/ck_limits.h
+include/ck_ht.h
+include/ck_hs.h
+include/ck_hp_stack.h
+include/ck_hp_fifo.h
+include/ck_hp.h
+include/ck_fifo.h
+include/ck_epoch.h
+include/ck_cohort.h
+include/ck_cc.h
+include/ck_bytelock.h
+include/ck_brlock.h
+include/gcc/ppc/ck_pr.h
+include/gcc/ppc/ck_f_pr.h
+include/gcc/x86/ck_pr.h
+include/gcc/x86/ck_f_pr.h
+include/gcc/sparcv9/ck_f_pr.h
+include/gcc/sparcv9/ck_pr.h
+include/gcc/ppc64/ck_f_pr.h
+include/gcc/ppc64/ck_pr.h
+include/gcc/x86_64/ck_f_pr.h
+include/gcc/x86_64/ck_pr.h
+include/gcc/ck_pr.h
+include/gcc/ck_f_pr.h
+include/gcc/ck_cc.h
+include/ck_bitmap.h
+include/ck_barrier.h
+include/ck_bag.h
+include/ck_stdint.h
+lib/libck.so.0.2.19
+lib/libck.so
+lib/libck.so.0
+lib/libck.a
+libdata/pkgconfig/ck.pc
+@dirrmtry include/gcc/x86_64
+@dirrmtry include/gcc/x86
+@dirrmtry include/gcc/sparcv9
+@dirrmtry include/gcc/ppc64
+@dirrmtry include/gcc/ppc
+@dirrmtry include/gcc