guix_mirror_bot pushed a commit to branch c++-team
in repository guix.
commit 12db6bc008351b4cfafc622c1195314bb32ca2cd
Author: Aaron Covrig <[email protected]>
AuthorDate: Fri Mar 21 13:38:38 2025 -0400
gnu: googletest: Update to 1.17.0.
* gnu/packages/check.scm (googletest): Update to 1.17.0
(googletest-1.17): Delete variable.
* gnu/packages/glib.scm (sdbus-c++)[native-inputs]: Replace
googletest-1.17 with googletest.
* gnu/packages/maths.scm (fp16, fxdiv),
* gnu/packages/web.scm (rapidjson)
[inputs]: Replace googletest with googletest-1.8.
Change-Id: I310fb6785d6e19bb8dbf56c25028587573981a0e
---
gnu/packages/check.scm | 21 +++------------------
gnu/packages/glib.scm | 2 +-
gnu/packages/maths.scm | 4 ++--
gnu/packages/web.scm | 2 +-
4 files changed, 7 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 822a3da219..45e280c90a 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1062,16 +1062,16 @@ report generation engine.")
(define-public googletest
(package
(name "googletest")
- (version "1.12.1")
+ (version "1.17.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/google/googletest")
- (commit (string-append "release-" version))))
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1cv55x3amwrvfan9pr8dfnicwr8r6ar3yf6cg9v6nykd6m2v3qsv"))))
+ (base32 "1zn701fgmbk29y45p49sajaswm01i2bv89ds2kkbiq8i0p2cr08w"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f
@@ -1085,21 +1085,6 @@ discovery, death tests, assertions, parameterized tests
and XML test report
generation.")
(license license:bsd-3)))
-(define-public googletest-1.17
- (package
- (inherit googletest)
- (name "googletest")
- (version "1.17.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/google/googletest")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1zn701fgmbk29y45p49sajaswm01i2bv89ds2kkbiq8i0p2cr08w"))))))
-
(define-public googletest-1.13
(package
(inherit googletest)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 407c46d086..6304353b66 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -1329,7 +1329,7 @@ Some codes examples can be find at:
(lambda* (#:rest args)
(apply (assoc-ref gnu:%standard-phases 'check)
#:test-target "sdbus-c++-unit-tests" args))))))
- (native-inputs (list googletest-1.17 pkg-config))
+ (native-inputs (list googletest pkg-config))
(inputs (list expat))
(propagated-inputs (list elogind)) ;required by sdbus-c++.pc
(home-page "https://github.com/Kistler-Group/sdbus-cpp")
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 9a11131fd1..2789368d88 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -10745,7 +10745,7 @@ high-performance multidimensional array containers for
scientific computing.")
(patches (search-patches "fxdiv-system-libraries.patch"))))
(build-system cmake-build-system)
(inputs
- (list googletest googlebenchmark))
+ (list googletest-1.8 googlebenchmark))
(synopsis
"C++ library for division via fixed-point multiplication by inverse")
(description
@@ -10800,7 +10800,7 @@ when an application performs repeated divisions by the
same divisor.")
(native-inputs
(list python-wrapper))
(inputs
- (list psimd googletest googlebenchmark))
+ (list psimd googletest-1.8 googlebenchmark))
(synopsis "C++ library for half-precision floating point formats")
(description
"This header-only C++ library implements conversion to and from
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index d6082203c2..a3064572a7 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1824,7 +1824,7 @@ current version of any major web browser.")
(("GTESTSRC_FOUND)")
"GTest_FOUND)")))))))
(native-inputs (list valgrind/pinned))
- (inputs (list googletest))
+ (inputs (list googletest-1.8))
(home-page "https://github.com/Tencent/rapidjson")
(synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
(description