[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
55/142: gnu: abseil-cpp: Update to 20210324.2.
From: |
guix-commits |
Subject: |
55/142: gnu: abseil-cpp: Update to 20210324.2. |
Date: |
Wed, 20 Oct 2021 14:56:36 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit d90594ee33f32610050c2143b3964d3deced0916
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Oct 8 22:44:39 2021 -0400
gnu: abseil-cpp: Update to 20210324.2.
But keep the older variant for Tensorflow.
* gnu/packages/cpp.scm (abseil-cpp-20200923.3): Renamed older variant.
(abseil-cpp): New variable.
* gnu/packages/machine-learning.scm (tensorflow-lite)
[inputs]: Adjust to use the older abseil-cpp-20200923.3.
* gnu/packages/rpc.scm (grpc-1.16.1)[native-inputs]: Likewise.
Co-authored-by: Greg Hogan <code@greghogan.com>
---
gnu/packages/cpp.scm | 23 ++++++++++++++++++++++-
gnu/packages/machine-learning.scm | 2 +-
gnu/packages/rpc.scm | 10 ++++++----
3 files changed, 29 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 77ed9e0..37dd5ce 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -765,7 +765,8 @@ other values of screen objects, by setting their values as
the tween starting
point and then, after each tween step, plugging back the result.")
(license license:expat)))
-(define-public abseil-cpp
+;;; This older LTS release is kept for tensorflow.
+(define-public abseil-cpp-20200923.3
(package
(name "abseil-cpp")
(version "20200923.3")
@@ -812,6 +813,26 @@ augment the C++ standard library. The Abseil library code
is collected from
Google's C++ code base.")
(license license:asl2.0)))
+(define-public abseil-cpp
+ (let ((base abseil-cpp-20200923.3))
+ (package/inherit base
+ (name "abseil-cpp")
+ (version "20210324.2")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/abseil/abseil-cpp")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0g9rbhk3mwjdfxk7cscd04vm8fphd5flz9yykpgvyy1nwa34zk3x"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments base)
+ ((#:configure-flags flags)
+ `(cons* "-DBUILD_TESTING=ON"
+ (delete "-DABSL_RUN_TESTS=ON" ,flags))))))))
+
(define-public pegtl
(package
(name "pegtl")
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 9362d74..d714280 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -2211,7 +2211,7 @@ advanced research.")
(install-file file target-dir)))
(find-files "." "\\.h$")))))))))
(inputs
- `(("abseil-cpp" ,abseil-cpp)
+ `(("abseil-cpp" ,abseil-cpp-20200923.3)
("eigen" ,eigen-for-tensorflow-lite)
("flatbuffers" ,flatbuffers)
("python" ,python)))
diff --git a/gnu/packages/rpc.scm b/gnu/packages/rpc.scm
index f02fa66..0ff8363 100644
--- a/gnu/packages/rpc.scm
+++ b/gnu/packages/rpc.scm
@@ -152,11 +152,13 @@ browsers to backend services.")
"src/core/lib/gpr/log_posix.cc"
"src/core/lib/iomgr/ev_epollex_linux.cc")
(("gettid\\(")
- "sys_gettid("))
- #t))))))
+ "sys_gettid("))))))))
(native-inputs
- `(("protobuf" ,protobuf-3.6)
- ,@(alist-delete "protobuf" (package-native-inputs grpc))))))
+ `(("abseil-cpp" ,abseil-cpp-20200923.3)
+ ("protobuf" ,protobuf-3.6)
+ ,@(fold alist-delete (package-native-inputs grpc)
+ '("abseil-cpp"
+ "protobuf"))))))
(define-public python-grpcio
(package
- 78/142: gnu: gtk+-2: Fix ‘builder’ test., (continued)
- 78/142: gnu: gtk+-2: Fix ‘builder’ test., guix-commits, 2021/10/20
- 95/142: gnu: Move a few Python packages to (gnu packages python-build)., guix-commits, 2021/10/20
- 100/142: gnu: python-pytest-6: Fix version via setuptools-scm., guix-commits, 2021/10/20
- 101/142: gnu: python-pathlib2: Update to 2.3.6., guix-commits, 2021/10/20
- 112/142: gnu: libcloudproviders-minimal: Introduce minimal variant., guix-commits, 2021/10/20
- 113/142: gnu: gusb-minimal: Introduce minimal variant., guix-commits, 2021/10/20
- 126/142: gnu: glib-networking: Update to 2.70.rc., guix-commits, 2021/10/20
- 04/142: gnu: pulseaudio: Update to 14.2., guix-commits, 2021/10/20
- 18/142: gnu: cheese: Propagate gdk-pixbuf+svg rather than gdk-pixbuf., guix-commits, 2021/10/20
- 49/142: gnu: e2fsprogs: Update to 1.46.4., guix-commits, 2021/10/20
- 55/142: gnu: abseil-cpp: Update to 20210324.2.,
guix-commits <=
- 61/142: gnu: gst-plugins-base: Update to 1.18.5., guix-commits, 2021/10/20
- 96/142: gnu: python-pypa-build: Update to 0.7.0., guix-commits, 2021/10/20
- 106/142: gnu: at-spi2-atk: Break a dependency cycle between GTK+ and Inkscape., guix-commits, 2021/10/20
- 117/142: gnu: graphviz: Update to 2.49.0., guix-commits, 2021/10/20
- 24/142: gnu: gst-libav: Update to 1.18.4., guix-commits, 2021/10/20
- 121/142: gnu: util-linux: Globally disable the lsns test., guix-commits, 2021/10/20
- 111/142: gnu: colord-minimal: Introduce minimal variant., guix-commits, 2021/10/20
- 118/142: gnu: cmake-bootstrap: Update to 3.21.3., guix-commits, 2021/10/20
- 124/142: gnu: libthai: Make datrie a normal native-input., guix-commits, 2021/10/20
- 23/142: gnu: gst-plugins-ugly: Update to 1.18.4., guix-commits, 2021/10/20