Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/benchmarks/google-benchmark google-benchmark: updated ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d8775d1a7ad0
branches: trunk
changeset: 434134:d8775d1a7ad0
user: adam <adam%pkgsrc.org@localhost>
date: Thu Jun 11 17:01:06 2020 +0000
description:
google-benchmark: updated to 1.5.1
v1.5.1:
Python bindings are now available in //bindings/python
Upgraded bazel from 0.10.1 to 3.2.0 (long overdue)
RISC-V and PPC cycleclock fixes
Various build warnings and cmake issues resolved
Documentation improvements
diffstat:
benchmarks/google-benchmark/Makefile | 5 +-
benchmarks/google-benchmark/distinfo | 12 ++----
benchmarks/google-benchmark/patches/patch-CMakeLists.txt | 15 --------
benchmarks/google-benchmark/patches/patch-src_sysinfo.cc | 28 ----------------
4 files changed, 7 insertions(+), 53 deletions(-)
diffs (82 lines):
diff -r 9ee3f2450273 -r d8775d1a7ad0 benchmarks/google-benchmark/Makefile
--- a/benchmarks/google-benchmark/Makefile Thu Jun 11 15:43:19 2020 +0000
+++ b/benchmarks/google-benchmark/Makefile Thu Jun 11 17:01:06 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2020/04/26 13:32:18 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2020/06/11 17:01:06 adam Exp $
-DISTNAME= benchmark-1.5
+DISTNAME= benchmark-1.5.1
PKGNAME= google-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= benchmarks
MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
GITHUB_PROJECT= benchmark
diff -r 9ee3f2450273 -r d8775d1a7ad0 benchmarks/google-benchmark/distinfo
--- a/benchmarks/google-benchmark/distinfo Thu Jun 11 15:43:19 2020 +0000
+++ b/benchmarks/google-benchmark/distinfo Thu Jun 11 17:01:06 2020 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.6 2020/01/24 16:13:03 minskim Exp $
+$NetBSD: distinfo,v 1.7 2020/06/11 17:01:06 adam Exp $
-SHA1 (benchmark-1.5.tar.gz) = a35b0a2ae52be99162c24c470bcda4b102b2d7e3
-RMD160 (benchmark-1.5.tar.gz) = 4d2f355d89a8aa0e3c3657c096e1a1a90f4b3574
-SHA512 (benchmark-1.5.tar.gz) = a57122340c4f9a8e434ec70098916aef7c49d5d8312a30e4753f54bacc1099b146698b66c12f9ef116f7cadc93c604809a905c0e259aecf63aa2553390a1b609
-Size (benchmark-1.5.tar.gz) = 150159 bytes
-SHA1 (patch-CMakeLists.txt) = 858906c819358522d27d294025b9dfde6c053324
-SHA1 (patch-src_sysinfo.cc) = 0e5c6333e0160259d6ce2a77e36734c80685eddc
+SHA1 (benchmark-1.5.1.tar.gz) = a48acf2a5841ec2b2e1b1fcf52d4e298247c3538
+RMD160 (benchmark-1.5.1.tar.gz) = d8b280d821cdb18b3a48f9b3498252f56b59b5e7
+SHA512 (benchmark-1.5.1.tar.gz) = 1e8782ab6846b8b29c5eea41ed1ba19dd92a46a135cf74acdc588e2cd5ef05581c644d20fc0d6403456d65417538e1db80109ae87989601298b2fc56ae3c3161
+Size (benchmark-1.5.1.tar.gz) = 154896 bytes
diff -r 9ee3f2450273 -r d8775d1a7ad0 benchmarks/google-benchmark/patches/patch-CMakeLists.txt
--- a/benchmarks/google-benchmark/patches/patch-CMakeLists.txt Thu Jun 11 15:43:19 2020 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-CMakeLists.txt,v 1.2 2019/05/21 09:55:15 adam Exp $
-
--pedantic breaks <atomic> with libc++.
-
---- CMakeLists.txt.orig 2019-05-13 19:42:18.000000000 +0000
-+++ CMakeLists.txt
-@@ -142,8 +142,6 @@ else()
- add_cxx_compiler_flag(-Werror RELEASE)
- add_cxx_compiler_flag(-Werror RELWITHDEBINFO)
- add_cxx_compiler_flag(-Werror MINSIZEREL)
-- add_cxx_compiler_flag(-pedantic)
-- add_cxx_compiler_flag(-pedantic-errors)
- add_cxx_compiler_flag(-Wshorten-64-to-32)
- add_cxx_compiler_flag(-fstrict-aliasing)
- # Disable warnings regarding deprecated parts of the library while building
diff -r 9ee3f2450273 -r d8775d1a7ad0 benchmarks/google-benchmark/patches/patch-src_sysinfo.cc
--- a/benchmarks/google-benchmark/patches/patch-src_sysinfo.cc Thu Jun 11 15:43:19 2020 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-$NetBSD: patch-src_sysinfo.cc,v 1.1 2020/01/24 16:13:03 minskim Exp $
-
-Make sure HOST_NAME_MAX is always defined.
-https://github.com/google/benchmark/commit/7411874d9563b18c56f8a81e02e77c6ffc5c3851
-
---- src/sysinfo.cc.orig 2019-05-13 19:42:18.000000000 +0000
-+++ src/sysinfo.cc
-@@ -429,11 +429,20 @@ std::string GetSystemName() {
- #endif
- return str;
- #else // defined(BENCHMARK_OS_WINDOWS)
-+#ifndef HOST_NAME_MAX
- #ifdef BENCHMARK_HAS_SYSCTL // BSD/Mac Doesnt have HOST_NAME_MAX defined
- #define HOST_NAME_MAX 64
-+#elif defined(BENCHMARK_OS_NACL)
-+#define HOST_NAME_MAX 64
- #elif defined(BENCHMARK_OS_QNX)
- #define HOST_NAME_MAX 154
-+#elif defined(BENCHMARK_OS_RTEMS)
-+#define HOST_NAME_MAX 256
-+#else
-+#warning "HOST_NAME_MAX not defined. using 64"
-+#define HOST_NAME_MAX 64
- #endif
-+#endif // def HOST_NAME_MAX
- char hostname[HOST_NAME_MAX];
- int retVal = gethostname(hostname, HOST_NAME_MAX);
- if (retVal != 0) return std::string("");
Home |
Main Index |
Thread Index |
Old Index