git: 78fe0f4a7a0f - main - devel/libcuckoo: + A performant hash table implementation library.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Feb 2022 19:32:01 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=78fe0f4a7a0fc27353facc61b0338ceab0745cdf
commit 78fe0f4a7a0fc27353facc61b0338ceab0745cdf
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2022-02-27 19:31:15 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2022-02-27 19:31:56 +0000
devel/libcuckoo: + A performant hash table implementation library.
---
devel/Makefile | 1 +
devel/libcuckoo/Makefile | 22 ++++++++++++++++++++++
devel/libcuckoo/distinfo | 3 +++
devel/libcuckoo/pkg-descr | 4 ++++
devel/libcuckoo/pkg-plist | 9 +++++++++
5 files changed, 39 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 1674ae7ea3b1..5d4f33bee534 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1190,6 +1190,7 @@
SUBDIR += libconfuse
SUBDIR += libcreg
SUBDIR += libcrossguid
+ SUBDIR += libcuckoo
SUBDIR += libcutl
SUBDIR += libcwd
SUBDIR += libdaemon
diff --git a/devel/libcuckoo/Makefile b/devel/libcuckoo/Makefile
new file mode 100644
index 000000000000..34c702a6511c
--- /dev/null
+++ b/devel/libcuckoo/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= libcuckoo
+PORTVERSION= 0.3
+CATEGORIES= devel
+
+MAINTAINER= arrowd@FreeBSD.org
+COMMENT= Performant hash table implementation
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cmake
+
+USE_GITHUB= yes
+GH_ACCOUNT= efficient
+GH_TAGNAME= v${PORTVERSION}
+
+OPTIONS_DEFINE= TEST
+
+TEST_CMAKE_BOOL= BUILD_TESTS BUILD_STRESS_TESTS BUILD_UNIT_TESTS
+TEST_TARGET= test
+
+.include <bsd.port.mk>
diff --git a/devel/libcuckoo/distinfo b/devel/libcuckoo/distinfo
new file mode 100644
index 000000000000..b69ec57fe8b6
--- /dev/null
+++ b/devel/libcuckoo/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1645988515
+SHA256 (efficient-libcuckoo-0.3-v0.3_GH0.tar.gz) = b91b77c49577059cd47b258e783f60d5b07dccc5e47258fea00cdedffd84afbe
+SIZE (efficient-libcuckoo-0.3-v0.3_GH0.tar.gz) = 163040
diff --git a/devel/libcuckoo/pkg-descr b/devel/libcuckoo/pkg-descr
new file mode 100644
index 000000000000..133bb901ad22
--- /dev/null
+++ b/devel/libcuckoo/pkg-descr
@@ -0,0 +1,4 @@
+The libcuckoo library provides a high-performance, compact hash table that
+allows multiple concurrent reader and writer threads.
+
+WWW: https://github.com/efficient/libcuckoo
diff --git a/devel/libcuckoo/pkg-plist b/devel/libcuckoo/pkg-plist
new file mode 100644
index 000000000000..16f65770f66f
--- /dev/null
+++ b/devel/libcuckoo/pkg-plist
@@ -0,0 +1,9 @@
+include/libcuckoo-c/cuckoo_table_template.cc
+include/libcuckoo-c/cuckoo_table_template.h
+include/libcuckoo/bucket_container.hh
+include/libcuckoo/cuckoohash_config.hh
+include/libcuckoo/cuckoohash_map.hh
+include/libcuckoo/cuckoohash_util.hh
+share/cmake/libcuckoo/libcuckoo-config-version.cmake
+share/cmake/libcuckoo/libcuckoo-config.cmake
+share/cmake/libcuckoo/libcuckoo-targets.cmake