libcuckoo: initial commit, version 0.3

This commit is contained in:
Tim Biermann 2022-01-17 17:34:16 +01:00
parent d6d5da9d65
commit 261553afdc
3 changed files with 43 additions and 0 deletions

16
libcuckoo/.footprint Normal file
View File

@ -0,0 +1,16 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/libcuckoo-c/
-rw-r--r-- root/root usr/include/libcuckoo-c/cuckoo_table_template.cc
-rw-r--r-- root/root usr/include/libcuckoo-c/cuckoo_table_template.h
drwxr-xr-x root/root usr/include/libcuckoo/
-rw-r--r-- root/root usr/include/libcuckoo/bucket_container.hh
-rw-r--r-- root/root usr/include/libcuckoo/cuckoohash_config.hh
-rw-r--r-- root/root usr/include/libcuckoo/cuckoohash_map.hh
-rw-r--r-- root/root usr/include/libcuckoo/cuckoohash_util.hh
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/cmake/
drwxr-xr-x root/root usr/share/cmake/libcuckoo/
-rw-r--r-- root/root usr/share/cmake/libcuckoo/libcuckoo-config-version.cmake
-rw-r--r-- root/root usr/share/cmake/libcuckoo/libcuckoo-config.cmake
-rw-r--r-- root/root usr/share/cmake/libcuckoo/libcuckoo-targets.cmake

5
libcuckoo/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3/TuyYufNKvqAbfqd5DyYVz4QcSfiqee80kvZmTxymIXxnP8Yzpo6j+HO/o2En233lUuRpgFNfFB0/ydjlVqpwo=
SHA256 (Pkgfile) = d681a14f331d02b83309bbacd8c6912eabb27e5f6e0c553ae688c32ebbc5f3a0
SHA256 (.footprint) = 5db1f9976cf810822d9aa67d25d3dec720f3cbc73b16ff1e00c37a232b25131e
SHA256 (libcuckoo-0.3.tar.gz) = b91b77c49577059cd47b258e783f60d5b07dccc5e47258fea00cdedffd84afbe

22
libcuckoo/Pkgfile Normal file
View File

@ -0,0 +1,22 @@
# Description: A high-performance, concurrent hash table
# URL: https://github.com/efficient/libcuckoo
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: cmake ninja
name=libcuckoo
version=0.3
release=1
source=(https://github.com/efficient/libcuckoo/archive/v$version/$name-$version.tar.gz)
build() {
cmake -S $name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_INSTALL_LIBEXECDIR=lib/$name \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}