GNU bug report logs - #73760
[PATCH] gnu: Upgrade googlebenchmark

Previous Next

Package: guix-patches;

Reported by: Aaron Covrig <aaron.covrig.us <at> ieee.org>

Date: Sat, 12 Oct 2024 01:43:02 UTC

Severity: normal

Tags: patch

Done: Greg Hogan <code <at> greghogan.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Aaron Covrig <aaron.covrig.us <at> ieee.org>
To: 73760 <at> debbugs.gnu.org
Cc: Aaron Covrig <aaron.covrig.us <at> ieee.org>
Subject: [bug#73760] [PATCH] gnu: Upgrade googlebenchmark
Date: Fri, 11 Oct 2024 21:41:43 -0400
* gnu/packages/check.scm (googlebenchmark): Upgrade to 1.9.0
---
 gnu/packages/check.scm | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 8d41996c71..e0bd71e6d3 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -105,6 +105,7 @@ (define-module (gnu packages check)
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages time)
   #:use-module (gnu packages xml)
+  #:use-module (gnu packages version-control)
   #:use-module (guix utils)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
@@ -1098,24 +1099,25 @@ (define-public googletest-1.8
 (define-public googlebenchmark
   (package
     (name "googlebenchmark")
-    (version "1.8.3")
+    (version "1.9.0")
     (home-page "https://github.com/google/benchmark")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference (url home-page)
-                                  (commit (string-append "v" version))))
-              (file-name (git-file-name "google-benchmark" version))
-              (sha256
-               (base32
-                "1hf8xrdd9k57kw3mpdi68a78fd96vzdqv3179v2yy5dxx336ffw3"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name "google-benchmark" version))
+       (sha256
+        (base32 "0pvv6vww5qgkl821rn6jhh2bmfjqs6amkcj4ybws4pg1i0y7bjg5"))))
     (build-system cmake-build-system)
     (arguments
      '(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"
-                               (string-append
-                                "-DGOOGLETEST_PATH="
-                                (assoc-ref %build-inputs "googletest")))))
-    (inputs
-     `(("googletest" ,(package-source googletest))))
+                               (string-append "-DGOOGLETEST_PATH="
+                                              (assoc-ref %build-inputs
+                                                         "googletest")))))
+    (inputs `(("git" ,git)
+              ("googletest" ,(package-source googletest))))
     (synopsis "C++ library to support the benchmarking of functions")
     (description
      "The googlebenchmark C++ library support the benchmarking of functions,

base-commit: b8fd792ea267cb920da0651074a533d8abf00488
-- 
2.46.0





This bug report was last modified 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.