public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/parallel-hashmap/
@ 2021-05-02  9:27 Theo Anderson
  0 siblings, 0 replies; 6+ messages in thread
From: Theo Anderson @ 2021-05-02  9:27 UTC (permalink / raw
  To: gentoo-commits

commit:     6acfa62b637a31df2582e1817c76fc7ce763e43b
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May  2 01:31:46 2021 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Sun May  2 01:51:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6acfa62b

dev-cpp/parallel-hashmap: new package

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/parallel-hashmap/Manifest                  |  1 +
 dev-cpp/parallel-hashmap/metadata.xml              | 33 ++++++++++++++++
 .../parallel-hashmap/parallel-hashmap-1.33.ebuild  | 45 ++++++++++++++++++++++
 3 files changed, 79 insertions(+)

diff --git a/dev-cpp/parallel-hashmap/Manifest b/dev-cpp/parallel-hashmap/Manifest
new file mode 100644
index 000000000..da8d78b3e
--- /dev/null
+++ b/dev-cpp/parallel-hashmap/Manifest
@@ -0,0 +1 @@
+DIST parallel-hashmap-1.33.tar.gz 2038996 BLAKE2B b704a0230bd6d15e8a3a1aa11bec456183119d5104e1ac191e556edae1c0b0d2a27c5b52c84cae167cd09a90f4fc43f817c21d64d6b288a70596b6495ee872e6 SHA512 287f098229153d925632e68e3cdbabfae0ea0ab8864089e4c0553a166c6079ca82ed5246ba53afd2a2917abcf06f37bc18f098e721f5f3b8def4d2d8c1c8c745

diff --git a/dev-cpp/parallel-hashmap/metadata.xml b/dev-cpp/parallel-hashmap/metadata.xml
new file mode 100644
index 000000000..2609bf86a
--- /dev/null
+++ b/dev-cpp/parallel-hashmap/metadata.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+	<longdescription lang="en">
+Overview
+
+This repository aims to provide a set of excellent hash map implementations, as well as a btree alternative to std::map and std::set, with the following characteristics:
+
+Header only: nothing to build, just copy the parallel_hashmap directory to your project and you are good to go.
+
+drop-in replacement for std::unordered_map, std::unordered_set, std::map and std::set
+
+Compiler with C++11 support required, C++14 and C++17 APIs are provided (such as try_emplace)
+
+Very efficient, significantly faster than your compiler's unordered map/set or Boost's, or than sparsepp
+
+Memory friendly: low memory usage, although a little higher than sparsepp
+
+Supports heterogeneous lookup
+
+Easy to forward declare: just include phmap_fwd_decl.h in your header files to forward declare Parallel Hashmap containers [note: this does not work currently for hash maps with pointer keys]
+
+Dump/load feature: when a flat hash map stores data that is std::trivially_copyable, the table can be dumped to disk and restored as a single array, very efficiently, and without requiring any hash computation. This is typically about 10 times faster than doing element-wise serialization to disk, but it will use 10% to 60% extra disk space. See examples/serialize.cc. (flat hash map/set only)
+
+Automatic support for boost's hash_value() method for providing the hash function (see examples/hash_value.h). Also default hash support for std::pair and std::tuple.
+
+natvis visualization support in Visual Studio (hash map/set only)
+	</longdescription>
+	<upstream>
+		<bugs-to>https://github.com/greg7mdp/parallel-hashmap/issues</bugs-to>
+		<remote-id type="github">greg7mdp/parallel-hashmap</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
new file mode 100644
index 000000000..4aecefcc6
--- /dev/null
+++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A family of header-only, very fast and memory-friendly hashmap and btree containers."
+HOMEPAGE="
+	https://greg7mdp.github.io/parallel-hashmap/
+	https://github.com/greg7mdp/parallel-hashmap
+"
+SRC_URI="https://github.com/greg7mdp/parallel-hashmap/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+#BDEPEND="
+#	doc? ( app-text/pandoc )
+#"
+
+#TODO: explore the various cmake options (if any)
+#TODO: tests, doc
+
+src_compile() {
+	cmake_src_compile
+
+	#waiting for https://github.com/greg7mdp/parallel-hashmap/issues/91
+#	if use doc ; then
+#		cd html || die
+#		emake all
+#	fi
+}
+
+src_install() {
+	cmake_src_install
+	if use examples ; then
+		dodoc -r examples
+		docompress -x "/usr/share/doc/${PF}/examples"
+	fi
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/parallel-hashmap/
@ 2021-05-02 10:51 Theo Anderson
  0 siblings, 0 replies; 6+ messages in thread
From: Theo Anderson @ 2021-05-02 10:51 UTC (permalink / raw
  To: gentoo-commits

commit:     4e26feba6f7109de13011cda9b6d94dcd7d8d625
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May  2 09:15:02 2021 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Sun May  2 09:15:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e26feba

dev-cpp/parallel-hashmap: upstream wontfix the doc build

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
index 4aecefcc6..6fe10fac8 100644
--- a/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
+++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
@@ -19,21 +19,12 @@ IUSE="examples"
 
 DEPEND=""
 RDEPEND="${DEPEND}"
-#BDEPEND="
-#	doc? ( app-text/pandoc )
-#"
 
 #TODO: explore the various cmake options (if any)
-#TODO: tests, doc
+#TODO: tests
 
 src_compile() {
 	cmake_src_compile
-
-	#waiting for https://github.com/greg7mdp/parallel-hashmap/issues/91
-#	if use doc ; then
-#		cd html || die
-#		emake all
-#	fi
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/parallel-hashmap/
  2021-05-03  9:48 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2021-05-03 10:11 ` Andrew Ammerlaan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2021-05-03 10:11 UTC (permalink / raw
  To: gentoo-commits

commit:     f3cf559c73d4a978e92bbeca07f0162bed8f1677
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon May  3 09:46:23 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon May  3 09:46:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f3cf559c

dev-cpp/parallel-hashmap: shorten description

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
index 6fe10fac8..e2824c2e1 100644
--- a/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
+++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 inherit cmake
 
-DESCRIPTION="A family of header-only, very fast and memory-friendly hashmap and btree containers."
+DESCRIPTION="Family of header-only, fast and memory-friendly hashmap and btree containers"
 HOMEPAGE="
 	https://greg7mdp.github.io/parallel-hashmap/
 	https://github.com/greg7mdp/parallel-hashmap


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/parallel-hashmap/
@ 2021-05-05  8:33 Andrew Ammerlaan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2021-05-05  8:33 UTC (permalink / raw
  To: gentoo-commits

commit:     619cc3442bfabed1f799511ee28795894bdc933c
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed May  5 07:25:54 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed May  5 07:32:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=619cc344

dev-cpp/parallel-hashmap: comaintainers welcome

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/parallel-hashmap/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-cpp/parallel-hashmap/metadata.xml b/dev-cpp/parallel-hashmap/metadata.xml
index 2609bf86a..3183d009f 100644
--- a/dev-cpp/parallel-hashmap/metadata.xml
+++ b/dev-cpp/parallel-hashmap/metadata.xml
@@ -1,6 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
 <pkgmetadata>
+	<maintainer type="person">
+		<email>lssndrbarbieri@gmail.com</email>
+		<name>Alessandro Barbieri</name>
+	</maintainer>
 	<longdescription lang="en">
 Overview
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/parallel-hashmap/
@ 2022-06-29 15:37 Florian Schmaus
  0 siblings, 0 replies; 6+ messages in thread
From: Florian Schmaus @ 2022-06-29 15:37 UTC (permalink / raw
  To: gentoo-commits

commit:     bea0ab948cce6bce92628a2f04b703d94bd65fd7
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Jun 28 15:50:31 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Jun 28 15:50:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bea0ab94

dev-cpp/parallel-hashmap: add 1.35, drop 1.33

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/parallel-hashmap/Manifest                  |  2 +-
 ...ap-1.33.ebuild => parallel-hashmap-1.35.ebuild} | 23 +++++++++++++---------
 2 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/dev-cpp/parallel-hashmap/Manifest b/dev-cpp/parallel-hashmap/Manifest
index 198c39302..d80bc3e49 100644
--- a/dev-cpp/parallel-hashmap/Manifest
+++ b/dev-cpp/parallel-hashmap/Manifest
@@ -1,2 +1,2 @@
-DIST parallel-hashmap-1.33.tar.gz 2038996 BLAKE2B b704a0230bd6d15e8a3a1aa11bec456183119d5104e1ac191e556edae1c0b0d2a27c5b52c84cae167cd09a90f4fc43f817c21d64d6b288a70596b6495ee872e6 SHA512 287f098229153d925632e68e3cdbabfae0ea0ab8864089e4c0553a166c6079ca82ed5246ba53afd2a2917abcf06f37bc18f098e721f5f3b8def4d2d8c1c8c745
 DIST parallel-hashmap-1.34.tar.gz 2043028 BLAKE2B 30629288656a22cfd56da9485458f604487383cc5951e230a833b182cbbcc706b78d0b8a45fb76c4fca6da930f49cdb79b2ca63926ca8cd60cc7445b58c8edbd SHA512 3747422e80406aa77b009adee3c16325640dd1044560882fb881dac5ef4109f7d165d26ed7e64002c9285275f95962725ce20c918da12c0c113999c8ca3c7429
+DIST parallel-hashmap-1.35.gh.tar.gz 2044770 BLAKE2B 18c4843ebd2ca046e1597a7fc0341440d888c4b39d2355e45b36e02b9f5dcf39baec1826434d70b591e6713fe2ff043a9ec8a68b7b43e0fbb2af176507b738ba SHA512 ffa70a6691784caa8acc6e191b3db4ffdbbc51db86c91118267fac96c178d434f890f773c9b31932eaed15b2cecbd74dcaddacefd0ef9771da0833c90d0f104c

diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
similarity index 57%
rename from dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
rename to dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
index e2824c2e1..036b306d5 100644
--- a/dev-cpp/parallel-hashmap/parallel-hashmap-1.33.ebuild
+++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake
 
@@ -10,20 +10,25 @@ HOMEPAGE="
 	https://greg7mdp.github.io/parallel-hashmap/
 	https://github.com/greg7mdp/parallel-hashmap
 "
-SRC_URI="https://github.com/greg7mdp/parallel-hashmap/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/greg7mdp/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
 
 LICENSE="Apache-2.0"
-SLOT="0"
+SLOT="0/${PV}"
 KEYWORDS="~amd64"
-IUSE="examples"
+IUSE="examples test"
 
-DEPEND=""
-RDEPEND="${DEPEND}"
+CDEPEND="dev-libs/cereal"
+DEPEND="test? ( ${CDEPEND} )"
+RDEPEND="${CDEPEND}"
 
-#TODO: explore the various cmake options (if any)
-#TODO: tests
+RESTRICT="!test? ( test )"
 
 src_compile() {
+	mycmakeargs=(
+		PHMAP_BUILD_EXAMPLES=$(usex examples)
+		PHMAP_BUILD_TESTS=$(usex test)
+	)
+
 	cmake_src_compile
 }
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/parallel-hashmap/
@ 2022-06-30 17:39 Florian Schmaus
  0 siblings, 0 replies; 6+ messages in thread
From: Florian Schmaus @ 2022-06-30 17:39 UTC (permalink / raw
  To: gentoo-commits

commit:     cca5952a0d3f9ef96cfd0e4bbae6201ed5589268
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Jun 30 15:12:15 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Jun 30 15:13:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cca5952a

dev-cpp/parallel-hashmap: restrict tests

Closes: https://bugs.gentoo.org/855329
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild b/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
index 036b306d5..46dd6b355 100644
--- a/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
+++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
@@ -21,7 +21,9 @@ CDEPEND="dev-libs/cereal"
 DEPEND="test? ( ${CDEPEND} )"
 RDEPEND="${CDEPEND}"
 
-RESTRICT="!test? ( test )"
+# tests will download gtest, not trivial to use the system one
+# https://github.com/greg7mdp/parallel-hashmap/issues/154
+RESTRICT="test"
 
 src_compile() {
 	mycmakeargs=(


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-06-30 17:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-05  8:33 [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/parallel-hashmap/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2022-06-30 17:39 Florian Schmaus
2022-06-29 15:37 Florian Schmaus
2021-05-03  9:48 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-05-03 10:11 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-05-02 10:51 Theo Anderson
2021-05-02  9:27 Theo Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox