3
0
Fork 0
forked from mirrors/nixpkgs

python311Packages.tensorflow: pin abseil-cpp_202301

After upgrading abseil-cpp to 202401 the build started failing with

> tensorflow/python/util/function_parameter_canonicalizer.cc:85:15: error: 'StrCat' is not a member of 'absl'
This commit is contained in:
Martin Weinelt 2024-02-14 04:25:18 +01:00
parent 009e4ff8e3
commit 6afe11355c
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -14232,7 +14232,7 @@ self: super: with self; {
tensorflow-build = let tensorflow-build = let
compat = rec { compat = rec {
protobufTF = pkgs.protobuf_21.override { protobufTF = pkgs.protobuf_21.override {
abseil-cpp = pkgs.abseil-cpp; abseil-cpp = pkgs.abseil-cpp_202301;
}; };
grpcTF = (pkgs.grpc.overrideAttrs ( grpcTF = (pkgs.grpc.overrideAttrs (
oldAttrs: rec { oldAttrs: rec {
@ -14284,6 +14284,7 @@ self: super: with self; {
grpc = compat.grpcTF; grpc = compat.grpcTF;
grpcio = compat.grpcioTF; grpcio = compat.grpcioTF;
tensorboard = compat.tensorboardTF; tensorboard = compat.tensorboardTF;
abseil-cpp = pkgs.abseil-cpp_202301;
# Tensorflow 2.13 doesn't support gcc13: # Tensorflow 2.13 doesn't support gcc13:
# https://github.com/tensorflow/tensorflow/issues/61289 # https://github.com/tensorflow/tensorflow/issues/61289