pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/mdds mdds: Update to 2.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/17d0bb403618
branches:  trunk
changeset: 373029:17d0bb403618
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sat Feb 05 04:00:52 2022 +0000

description:
mdds: Update to 2.0.1

Changelog:
mdds 2.0.1 (not released yet)

* general

  * addressed various coverity issues.

* multi_type_vector

  * fixed random compiler warnings.

  * fixed event handling in copy construction.  In aos, the event object was
    not copied when the parent container was copied.  In soa, the
    element_block_acquired() callback was not called for the cloned element
    blocks.

  * added move constructors and move assignment operators to both aos and soa
    variants.

mdds 2.0.0

* general

  * set the baseline C++ version to C++17.

* multi_type_vector

  * implemented structure-of-arrays (SoA) storage as its default storage
    layout for better CPU cache efficiency.

  * added multiple block position adjustment implementations with various
    loop-unrolling factors combined with SSE2 and AVX2 features.

  * added a tool called runtime-env to benchmark different block position
    adjustment implementations to determine the optimal loop-unrolling factor.

* rectangle_set

  * permanently removed.

* rtree

  * fixed a bug where the memory positions of invalidated child nodes were not
    properly updated after tree mutation.  The problem manifested itself when
    using libc++ as stdlib with clang.

mdds 1.7.0

* trie_map

  * added copy and move constructors.

  * added a variant of find() method that returns a mutable iterator object.
    The user can now update the value associated with a key directly via the
    iterator object.

* packed_trie_map

  * added copy and move constructors.

  * added load_state() and save_state() methods to allow loading state from
    and saving state to binary files.

diffstat:

 devel/mdds/Makefile                |   5 +-
 devel/mdds/PLIST                   |  80 ++++++++++++++++++++++---------------
 devel/mdds/buildlink3.mk           |   4 +-
 devel/mdds/distinfo                |  10 ++--
 devel/mdds/patches/patch-configure |  18 ++++----
 5 files changed, 65 insertions(+), 52 deletions(-)

diffs (197 lines):

diff -r 0a6272f9122e -r 17d0bb403618 devel/mdds/Makefile
--- a/devel/mdds/Makefile       Sat Feb 05 03:26:28 2022 +0000
+++ b/devel/mdds/Makefile       Sat Feb 05 04:00:52 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.50 2022/01/10 01:46:29 ryoon Exp $
+# $NetBSD: Makefile,v 1.51 2022/02/05 04:00:52 ryoon Exp $
 
-DISTNAME=      mdds-1.6.0
-PKGREVISION=   4
+DISTNAME=      mdds-2.0.1
 CATEGORIES=    devel
 MASTER_SITES=  http://kohei.us/files/mdds/src/
 EXTRACT_SUFX=  .tar.bz2
diff -r 0a6272f9122e -r 17d0bb403618 devel/mdds/PLIST
--- a/devel/mdds/PLIST  Sat Feb 05 03:26:28 2022 +0000
+++ b/devel/mdds/PLIST  Sat Feb 05 04:00:52 2022 +0000
@@ -1,37 +1,51 @@
-@comment $NetBSD: PLIST,v 1.12 2020/02/05 13:26:09 ryoon Exp $
-include/mdds-1.5/mdds/flat_segment_tree.hpp
-include/mdds-1.5/mdds/flat_segment_tree_def.inl
-include/mdds-1.5/mdds/flat_segment_tree_itr.hpp
-include/mdds-1.5/mdds/global.hpp
-include/mdds-1.5/mdds/multi_type_matrix.hpp
-include/mdds-1.5/mdds/multi_type_matrix_def.inl
-include/mdds-1.5/mdds/multi_type_vector.hpp
-include/mdds-1.5/mdds/multi_type_vector/collection.hpp
-include/mdds-1.5/mdds/multi_type_vector/collection_def.inl
-include/mdds-1.5/mdds/multi_type_vector_custom_func1.hpp
-include/mdds-1.5/mdds/multi_type_vector_custom_func2.hpp
-include/mdds-1.5/mdds/multi_type_vector_custom_func3.hpp
-include/mdds-1.5/mdds/multi_type_vector_def.inl
-include/mdds-1.5/mdds/multi_type_vector_itr.hpp
-include/mdds-1.5/mdds/multi_type_vector_macro.hpp
-include/mdds-1.5/mdds/multi_type_vector_trait.hpp
-include/mdds-1.5/mdds/multi_type_vector_types.hpp
-include/mdds-1.5/mdds/node.hpp
-include/mdds-1.5/mdds/point_quad_tree.hpp
-include/mdds-1.5/mdds/quad_node.hpp
-include/mdds-1.5/mdds/rectangle_set.hpp
-include/mdds-1.5/mdds/rectangle_set_def.inl
-include/mdds-1.5/mdds/rtree.hpp
-include/mdds-1.5/mdds/rtree_def.inl
-include/mdds-1.5/mdds/segment_tree.hpp
-include/mdds-1.5/mdds/segment_tree_def.inl
-include/mdds-1.5/mdds/sorted_string_map.hpp
-include/mdds-1.5/mdds/sorted_string_map_def.inl
-include/mdds-1.5/mdds/trie_map.hpp
-include/mdds-1.5/mdds/trie_map_def.inl
-include/mdds-1.5/mdds/trie_map_itr.hpp
+@comment $NetBSD: PLIST,v 1.13 2022/02/05 04:00:52 ryoon Exp $
+include/mdds-2.0/mdds/flat_segment_tree.hpp
+include/mdds-2.0/mdds/flat_segment_tree_def.inl
+include/mdds-2.0/mdds/flat_segment_tree_itr.hpp
+include/mdds-2.0/mdds/global.hpp
+include/mdds-2.0/mdds/multi_type_matrix.hpp
+include/mdds-2.0/mdds/multi_type_matrix_def.inl
+include/mdds-2.0/mdds/multi_type_vector.hpp
+include/mdds-2.0/mdds/multi_type_vector/aos/block_util.hpp
+include/mdds-2.0/mdds/multi_type_vector/aos/iterator.hpp
+include/mdds-2.0/mdds/multi_type_vector/aos/main.hpp
+include/mdds-2.0/mdds/multi_type_vector/aos/main_def.inl
+include/mdds-2.0/mdds/multi_type_vector/collection.hpp
+include/mdds-2.0/mdds/multi_type_vector/collection_def.inl
+include/mdds-2.0/mdds/multi_type_vector/custom_func1.hpp
+include/mdds-2.0/mdds/multi_type_vector/custom_func2.hpp
+include/mdds-2.0/mdds/multi_type_vector/custom_func3.hpp
+include/mdds-2.0/mdds/multi_type_vector/iterator_node.hpp
+include/mdds-2.0/mdds/multi_type_vector/macro.hpp
+include/mdds-2.0/mdds/multi_type_vector/soa/block_util.hpp
+include/mdds-2.0/mdds/multi_type_vector/soa/iterator.hpp
+include/mdds-2.0/mdds/multi_type_vector/soa/main.hpp
+include/mdds-2.0/mdds/multi_type_vector/soa/main_def.inl
+include/mdds-2.0/mdds/multi_type_vector/trait.hpp
+include/mdds-2.0/mdds/multi_type_vector/types.hpp
+include/mdds-2.0/mdds/multi_type_vector/util.hpp
+include/mdds-2.0/mdds/multi_type_vector_custom_func1.hpp
+include/mdds-2.0/mdds/multi_type_vector_custom_func2.hpp
+include/mdds-2.0/mdds/multi_type_vector_custom_func3.hpp
+include/mdds-2.0/mdds/multi_type_vector_itr.hpp
+include/mdds-2.0/mdds/multi_type_vector_macro.hpp
+include/mdds-2.0/mdds/multi_type_vector_trait.hpp
+include/mdds-2.0/mdds/multi_type_vector_types.hpp
+include/mdds-2.0/mdds/node.hpp
+include/mdds-2.0/mdds/point_quad_tree.hpp
+include/mdds-2.0/mdds/quad_node.hpp
+include/mdds-2.0/mdds/ref_pair.hpp
+include/mdds-2.0/mdds/rtree.hpp
+include/mdds-2.0/mdds/rtree_def.inl
+include/mdds-2.0/mdds/segment_tree.hpp
+include/mdds-2.0/mdds/segment_tree_def.inl
+include/mdds-2.0/mdds/sorted_string_map.hpp
+include/mdds-2.0/mdds/sorted_string_map_def.inl
+include/mdds-2.0/mdds/trie_map.hpp
+include/mdds-2.0/mdds/trie_map_def.inl
+include/mdds-2.0/mdds/trie_map_itr.hpp
 share/doc/mdds/AUTHORS
 share/doc/mdds/COPYING
 share/doc/mdds/NEWS
 share/doc/mdds/README.md
-share/pkgconfig/mdds-1.5.pc
+share/pkgconfig/mdds-2.0.pc
diff -r 0a6272f9122e -r 17d0bb403618 devel/mdds/buildlink3.mk
--- a/devel/mdds/buildlink3.mk  Sat Feb 05 03:26:28 2022 +0000
+++ b/devel/mdds/buildlink3.mk  Sat Feb 05 04:00:52 2022 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.5 2020/02/05 13:26:09 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2022/02/05 04:00:52 ryoon Exp $
 
 BUILDLINK_TREE+=       mdds
 
 .if !defined(MDDS_BUILDLINK3_MK)
 MDDS_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.mdds+=   mdds>=1.5.0
+BUILDLINK_API_DEPENDS.mdds+=   mdds>=2.0.1
 BUILDLINK_PKGSRCDIR.mdds?=     ../../devel/mdds
 # only contains header files
 BUILDLINK_DEPMETHOD.mdds?=     build
diff -r 0a6272f9122e -r 17d0bb403618 devel/mdds/distinfo
--- a/devel/mdds/distinfo       Sat Feb 05 03:26:28 2022 +0000
+++ b/devel/mdds/distinfo       Sat Feb 05 04:00:52 2022 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.22 2021/10/26 10:15:39 nia Exp $
+$NetBSD: distinfo,v 1.23 2022/02/05 04:00:52 ryoon Exp $
 
-BLAKE2s (mdds-1.6.0.tar.bz2) = 422b752417b1a46122143e181115f619440e3c93b3ff8170d66f8e984799c020
-SHA512 (mdds-1.6.0.tar.bz2) = 7c66894748e998f24374a5c6ea342ae2736e4bdba53be89510a1674690517ed7303786e1290fcfa26b07f236788c192ad29790129c228074397ab43699cdb290
-Size (mdds-1.6.0.tar.bz2) = 350406 bytes
-SHA1 (patch-configure) = 046f7c40df6803e14b4799c59221790223c28aa9
+BLAKE2s (mdds-2.0.1.tar.bz2) = 893a7f4107ff5d8c98c236c80cf4c24fc116e2d3835f42ff6b79508fdcb9bb1a
+SHA512 (mdds-2.0.1.tar.bz2) = 61b932d643e7769f840557dfe8df4527477fd70ea69ec9c11b26d85ee2409bc11eaa2670e69b64e4700d4dbe6942360752b6efd4e99880b3193ec6bcdd54071a
+Size (mdds-2.0.1.tar.bz2) = 500269 bytes
+SHA1 (patch-configure) = 7eaab42f04054f1034cd466a4e7b1e21d4d3fea2
diff -r 0a6272f9122e -r 17d0bb403618 devel/mdds/patches/patch-configure
--- a/devel/mdds/patches/patch-configure        Sat Feb 05 03:26:28 2022 +0000
+++ b/devel/mdds/patches/patch-configure        Sat Feb 05 04:00:52 2022 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-configure,v 1.2 2020/08/11 16:03:49 ryoon Exp $
+$NetBSD: patch-configure,v 1.3 2022/02/05 04:00:52 ryoon Exp $
 
 * POSIX shell portability
 
---- configure.orig     2020-02-07 00:00:40.000000000 +0000
+--- configure.orig     2021-12-11 01:51:19.000000000 +0000
 +++ configure
-@@ -2509,7 +2509,7 @@ if test "${enable_debug_stdcxx+set}" = s
+@@ -5607,7 +5607,7 @@ if test "${enable_debug_stdcxx+set}" = s
  fi
  
  
@@ -13,7 +13,7 @@
  
    CXXFLAGS="$CXXFLAGS -D_GLIBCXX_DEBUG"
  
-@@ -2521,7 +2521,7 @@ if test "${enable_release_tests+set}" = 
+@@ -5619,7 +5619,7 @@ if test "${enable_release_tests+set}" = 
  fi
  
  
@@ -22,7 +22,7 @@
  
    CXXFLAGS="$CXXFLAGS -DNDEBUG -O2"
  
-@@ -2545,13 +2545,13 @@ else
+@@ -5643,13 +5643,13 @@ else
  fi
  
  
@@ -38,16 +38,16 @@
  
    CXXFLAGS="$CXXFLAGS --coverage -O0"
  
-@@ -2566,7 +2566,7 @@ else
+@@ -5664,7 +5664,7 @@ else
  fi
  
  
 -if test x"$enable_openmp" == "xyes"; then :
 +if test x"$enable_openmp" = "xyes"; then :
  
-   CXXFLAGS="$CXXFLAGS -fopenmp"
+   CXXFLAGS="$CXXFLAGS -fopenmp -DMDDS_USE_OPENMP=1"
    LDFLAGS="$LDFLAGS -fopenmp"
-@@ -2582,7 +2582,7 @@ else
+@@ -5680,7 +5680,7 @@ else
  fi
  
  
@@ -56,7 +56,7 @@
  
    CXXFLAGS="$CXXFLAGS -fprofile-instr-generate -fcoverage-mapping -O0"
  
-@@ -3589,7 +3589,7 @@ else
+@@ -6374,7 +6374,7 @@ else
  
  fi
  



Home | Main Index | Thread Index | Old Index