From nobody Sun Aug 14 23:00:22 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M5Xtv0nD4z4Ys19; Sun, 14 Aug 2022 23:00:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M5Xtt5zHBz42LV; Sun, 14 Aug 2022 23:00:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660518022; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oOQ4BhpkFPJnlDWn4zSat2SizKCws7HW9VVssdV0DvQ=; b=G6rS0lb1ZXPJAH3mBz9MDzZvTevsX/E5oP99RwyzPLUWEwEy7VftGBGC1EsgBxFev3smlS 9qxCRssEY2yXAWj4IBZWLeVj5qNc5E+XALqwmujSZqx+QKiTPmtWCcx5Df5gT3/aZL17kg x0qhUhSOAZZm5mwvZjpUDc/T8i9LVsFLSKI6TwMmvEIZhyGt1FUanOUnWbSM7n15+90q/A sDnZeJYTb9gsX6/74DKXrzd0EoGLKPzdvGJO5rQFzQ9Ee4xVpWb4exRp9Klb02j0k28IZ7 0gAgsY2p42eVVoNxIdEbRTtQWWr40j4ceRpP/yw0inc8vSUtKIKqMimlblCEyQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M5Xtt4vcWz171r; Sun, 14 Aug 2022 23:00:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27EN0MnU048321; Sun, 14 Aug 2022 23:00:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27EN0MIj048320; Sun, 14 Aug 2022 23:00:22 GMT (envelope-from git) Date: Sun, 14 Aug 2022 23:00:22 GMT Message-Id: <202208142300.27EN0MIj048320@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 4b63e8458145 - main - devel/robin-hood-hashing: New port: Fast & memory efficient hashtable based on robin hood hashing for C++ List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4b63e8458145ec21f5d10defb35a0fa4caac2873 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660518022; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oOQ4BhpkFPJnlDWn4zSat2SizKCws7HW9VVssdV0DvQ=; b=RlVhQ4d1eHLpo864mN+gK8zdGV4zFiNlDtrGWhU1oYWwagsu2bC00Mw5l3+aRfMPjEfb9B 6Ouk9m9pTGRfBPLn/qpqF3H12kHBdyvSzu524iaLc5nmF0VcybnI2QU106aO/OD0d5ldLu eO+ovEqmUwnFTVrh8I/3lk2dn/vwHwgWPDYsEoaHtuF3l3DzKAQnKgvujuhlmg8hVVbQ3q f1Y4JcETOiLaFGHSX7eyXfQB2Wih57w5XEvZMVEGo6nGlBFTF5iaoaoyWkTBhtw4KjKprH dTZGdrD7X9nSX1aalZFXBD7cXmfyc76lQ/Hnp2jUoeqCC0SLQJZkL/Qdh3puxg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660518022; a=rsa-sha256; cv=none; b=AjHPrqqKs3Qbbqo35cREhVNgk/DNm8fBMrOPn9W1jou3OUPPR/dI/Bzjxk8cqpd1pltZb6 KrHN+ZCPIVFlF7Au8x6rmBjm0oyIgwtg1RT/lUH3HfQ336CS+cmb6PxCfOonC7dhHMORb3 HP/gsZNidNfogqA8M7L7lcGi9fr1XRse7pRcUvOxiXe7l+FQu2FgzbYYxKiWApjtWovwhL bbyJmknU5jMlzAycUvMMqIQiG7FpNFxz23bwvKY5OmxRuxcmBEJhFeOKN9bDkPTpvt9Htn Xfd90YMRqyJumnhBVF4XpD+36mNrz+3UmY4K6VYdjn9e+KA8tcXtQarx7sHagw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=4b63e8458145ec21f5d10defb35a0fa4caac2873 commit 4b63e8458145ec21f5d10defb35a0fa4caac2873 Author: Yuri Victorovich AuthorDate: 2022-08-14 22:59:42 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-14 23:00:18 +0000 devel/robin-hood-hashing: New port: Fast & memory efficient hashtable based on robin hood hashing for C++ --- devel/Makefile | 1 + devel/robin-hood-hashing/Makefile | 26 ++++++++++++++++++++++++++ devel/robin-hood-hashing/distinfo | 3 +++ devel/robin-hood-hashing/pkg-descr | 6 ++++++ 4 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index a7197492b4a6..f1c414cb25d9 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5656,6 +5656,7 @@ SUBDIR += rkcommon SUBDIR += rlog SUBDIR += rlwrap + SUBDIR += robin-hood-hashing SUBDIR += robin-map SUBDIR += roboctl SUBDIR += robodoc diff --git a/devel/robin-hood-hashing/Makefile b/devel/robin-hood-hashing/Makefile new file mode 100644 index 000000000000..0b33165653a4 --- /dev/null +++ b/devel/robin-hood-hashing/Makefile @@ -0,0 +1,26 @@ +PORTNAME= robin-hood-hashing +DISTVERSION= 3.11.5 +CATEGORIES= devel python + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Fast & memory efficient hashtable based on robin hood hashing for C++ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake compiler:c++14-lang + +USE_GITHUB= yes +GH_ACCOUNT= martinus + +NO_BUILD= yes +NO_ARCH= yes + +PLIST_FILES= include/robin_hood.h + +do-install: # see https://github.com/martinus/robin-hood-hashing/issues/162 + ${INSTALL_DATA} ${WRKSRC}/src/include/robin_hood.h ${STAGEDIR}${PREFIX}/include + +# tests fail to build, see https://github.com/martinus/robin-hood-hashing/issues/161 + +.include diff --git a/devel/robin-hood-hashing/distinfo b/devel/robin-hood-hashing/distinfo new file mode 100644 index 000000000000..bad533177f4a --- /dev/null +++ b/devel/robin-hood-hashing/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660515352 +SHA256 (martinus-robin-hood-hashing-3.11.5_GH0.tar.gz) = 3693e44dda569e9a8b87ce8263f7477b23af448a3c3600c8ab9004fe79c20ad0 +SIZE (martinus-robin-hood-hashing-3.11.5_GH0.tar.gz) = 177134 diff --git a/devel/robin-hood-hashing/pkg-descr b/devel/robin-hood-hashing/pkg-descr new file mode 100644 index 000000000000..c958c3b3b269 --- /dev/null +++ b/devel/robin-hood-hashing/pkg-descr @@ -0,0 +1,6 @@ +robin-hood-hashing provides classes robin_hood::unordered_map and +robin_hood::unordered_set. It is a platform independent replacement for +std::unordered_map and std::unordered_set which is both faster and more memory +efficient for real-world use cases. + +WWW: https://github.com/martinus/robin-hood-hashing