Skip to content

Commit

Permalink
Add a conditional any_invocable dependency to YDF to allow building w…
Browse files Browse the repository at this point in the history
…ith latest Tensorflow

PiperOrigin-RevId: 530854335
  • Loading branch information
tensorflower-gardener authored and tensorflow-copybara committed May 10, 2023
1 parent f2909e5 commit cb3698e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ build --experimental_cc_shared_library
# uses TensorFlow for all IO operations.
build --define=use_tensorflow_io=1

# TensorFlow Decision Forests need absl::anyInvocable support for new versions
# of Tensorflow.
build --define use_absl_anyinvocable=1

# TensorFlow Decision Forests does not use Absl concurrency primitives on MacOs.
# Reason: TensorFlow/ABSL ODR violation (b/214189609) # copybara:strip
build:macos --define std_synchronization_primitives=1

0 comments on commit cb3698e

Please sign in to comment.