mdds: Update to 1.6.0 Changelog: multi_type_vector switched to using binary search on block position lookup, which significantly improves element access performance in general, at the expense of slight performance degradation on block shifting. added support for lcov, to visualize test coverage.diff -r1.45 -r1.46 pkgsrc/devel/mdds/Makefile
(ryoon)
@@ -1,22 +1,21 @@ | @@ -1,22 +1,21 @@ | |||
1 | # $NetBSD: Makefile,v 1.45 2020/05/06 14:04:27 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.46 2020/08/11 16:03:49 ryoon Exp $ | |
2 | 2 | |||
3 | DISTNAME= mdds-1.5.0 | 3 | DISTNAME= mdds-1.6.0 | |
4 | PKGREVISION= 1 | |||
5 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
6 | MASTER_SITES= http://kohei.us/files/mdds/src/ | 5 | MASTER_SITES= http://kohei.us/files/mdds/src/ | |
7 | EXTRACT_SUFX= .tar.bz2 | 6 | EXTRACT_SUFX= .tar.bz2 | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://gitlab.com/mdds/mdds | 9 | HOMEPAGE= https://gitlab.com/mdds/mdds | |
11 | COMMENT= Collection of multi-dimensional data structure and indexing algorithms | 10 | COMMENT= Collection of multi-dimensional data structure and indexing algorithms | |
12 | LICENSE= mit | 11 | LICENSE= mit | |
13 | 12 | |||
14 | GNU_CONFIGURE= yes | 13 | GNU_CONFIGURE= yes | |
15 | USE_LANGUAGES= c c++ | 14 | USE_LANGUAGES= c c++ | |
16 | USE_TOOLS+= gmake | 15 | USE_TOOLS+= gmake | |
17 | PKGCONFIG_OVERRIDE+= misc/mdds.pc.in | 16 | PKGCONFIG_OVERRIDE+= misc/mdds.pc.in | |
18 | 17 | |||
19 | BUILDLINK_DEPMETHOD.boost-headers?= build | 18 | BUILDLINK_DEPMETHOD.boost-headers?= build | |
20 | .include "../../devel/boost-headers/buildlink3.mk" | 19 | .include "../../devel/boost-headers/buildlink3.mk" | |
21 | .include "../../devel/boost-libs/buildlink3.mk" | 20 | .include "../../devel/boost-libs/buildlink3.mk" | |
22 | .include "../../mk/bsd.pkg.mk" | 21 | .include "../../mk/bsd.pkg.mk" |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.19 2020/02/05 13:26:09 ryoon Exp $ | 1 | $NetBSD: distinfo,v 1.20 2020/08/11 16:03:49 ryoon Exp $ | |
2 | 2 | |||
3 | SHA1 (mdds-1.5.0.tar.bz2) = 4f0701f5c6af0455178b6c63f4f5c9e889f07499 | 3 | SHA1 (mdds-1.6.0.tar.bz2) = 7d3135916ba26ef92b0359b848c793ad99e536b4 | |
4 | RMD160 (mdds-1.5.0.tar.bz2) = bb94e4323d7163dd14745d7b1c1173dfbfe404bc | 4 | RMD160 (mdds-1.6.0.tar.bz2) = 003175ca1b3d1293a6f144490de94eba72cb1697 | |
5 | SHA512 (mdds-1.5.0.tar.bz2) = 9ed434dbc00285defbf3e0989396a1b52439bfdda01e5fd5822fef5e42e2c9b0b9436dd11b99af84a09a1965191ec106114e4046834f5b733474759f43bbfd95 | 5 | SHA512 (mdds-1.6.0.tar.bz2) = 7c66894748e998f24374a5c6ea342ae2736e4bdba53be89510a1674690517ed7303786e1290fcfa26b07f236788c192ad29790129c228074397ab43699cdb290 | |
6 | Size (mdds-1.5.0.tar.bz2) = 346888 bytes | 6 | Size (mdds-1.6.0.tar.bz2) = 350406 bytes | |
7 | SHA1 (patch-configure) = e8155e65b7fe71a6e924b432177dd13a186426a6 | 7 | SHA1 (patch-configure) = 046f7c40df6803e14b4799c59221790223c28aa9 |
@@ -1,33 +1,67 @@ | @@ -1,33 +1,67 @@ | |||
1 | $NetBSD: patch-configure,v 1.1 2019/02/19 15:45:30 ryoon Exp $ | 1 | $NetBSD: patch-configure,v 1.2 2020/08/11 16:03:49 ryoon Exp $ | |
2 | 2 | |||
3 | * POSIX shell portability | 3 | * POSIX shell portability | |
4 | 4 | |||
5 | --- configure.orig 2018-10-31 00:58:03.000000000 +0000 | 5 | --- configure.orig 2020-02-07 00:00:40.000000000 +0000 | |
6 | +++ configure | 6 | +++ configure | |
7 | @@ -2496,7 +2496,7 @@ if test "${enable_debug_stdcxx+set}" = s | 7 | @@ -2509,7 +2509,7 @@ if test "${enable_debug_stdcxx+set}" = s | |
8 | fi | 8 | fi | |
9 | 9 | |||
10 | 10 | |||
11 | -if test x"$debug_stdcxx" == "xyes"; then : | 11 | -if test x"$debug_stdcxx" == "xyes"; then : | |
12 | +if test x"$debug_stdcxx" = "xyes"; then : | 12 | +if test x"$debug_stdcxx" = "xyes"; then : | |
13 | 13 | |||
14 | CXXFLAGS="$CXXFLAGS -D_GLIBCXX_DEBUG" | 14 | CXXFLAGS="$CXXFLAGS -D_GLIBCXX_DEBUG" | |
15 | 15 | |||
16 | @@ -2508,7 +2508,7 @@ if test "${enable_release_tests+set}" = | 16 | @@ -2521,7 +2521,7 @@ if test "${enable_release_tests+set}" = | |
17 | fi | 17 | fi | |
18 | 18 | |||
19 | 19 | |||
20 | -if test x"$release_tests" == "xyes"; then : | 20 | -if test x"$release_tests" == "xyes"; then : | |
21 | +if test x"$release_tests" = "xyes"; then : | 21 | +if test x"$release_tests" = "xyes"; then : | |
22 | 22 | |||
23 | CXXFLAGS="$CXXFLAGS -DNDEBUG" | 23 | CXXFLAGS="$CXXFLAGS -DNDEBUG -O2" | |
24 | 24 | |||
25 | @@ -3395,7 +3395,7 @@ else | 25 | @@ -2545,13 +2545,13 @@ else | |
26 | fi | |||
27 | ||||
28 | ||||
29 | -if test x"$enable_loop_unrolling" == "xno"; then : | |||
30 | +if test x"$enable_loop_unrolling" = "xno"; then : | |||
31 | ||||
32 | CXXFLAGS="$CXXFLAGS -DMDDS_LOOP_UNROLLING=0" | |||
33 | ||||
34 | fi | |||
35 | ||||
36 | -if test x"$enable_gcov" == "xyes"; then : | |||
37 | +if test x"$enable_gcov" = "xyes"; then : | |||
38 | ||||
39 | CXXFLAGS="$CXXFLAGS --coverage -O0" | |||
40 | ||||
41 | @@ -2566,7 +2566,7 @@ else | |||
42 | fi | |||
43 | ||||
44 | ||||
45 | -if test x"$enable_openmp" == "xyes"; then : | |||
46 | +if test x"$enable_openmp" = "xyes"; then : | |||
47 | ||||
48 | CXXFLAGS="$CXXFLAGS -fopenmp" | |||
49 | LDFLAGS="$LDFLAGS -fopenmp" | |||
50 | @@ -2582,7 +2582,7 @@ else | |||
51 | fi | |||
52 | ||||
53 | ||||
54 | -if test x"$enable_sanitizer_coverage" == "xyes"; then : | |||
55 | +if test x"$enable_sanitizer_coverage" = "xyes"; then : | |||
56 | ||||
57 | CXXFLAGS="$CXXFLAGS -fprofile-instr-generate -fcoverage-mapping -O0" | |||
58 | ||||
59 | @@ -3589,7 +3589,7 @@ else | |||
26 | 60 | |||
27 | fi | 61 | fi | |
28 | 62 | |||
29 | -if test x"$enable_werror" == "xyes"; then : | 63 | -if test x"$enable_werror" == "xyes"; then : | |
30 | +if test x"$enable_werror" = "xyes"; then : | 64 | +if test x"$enable_werror" = "xyes"; then : | |
31 | 65 | |||
32 | CXXFLAGS="$CXXFLAGS -Werror" | 66 | CXXFLAGS="$CXXFLAGS -Werror" | |
33 | 67 |