Skip to content

Commit

Permalink
hooks: update tensorflow hook for compatibility with tensorflow 2.12 (#…
Browse files Browse the repository at this point in the history
…564)

Prevent duplication of  `libtensorflow_cc` shared library when building with `tensorflow` 2.12.
  • Loading branch information
Tombana committed Mar 31, 2023
1 parent 47d83b5 commit 47e8baa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/564.update.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update the hook for ``tensorflow`` to be compatible with TensorFlow 2.12.
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@
# Exclude from data collection:
# - development headers in include subdirectory
# - XLA AOT runtime sources
# - libtensorflow_framework shared library (to avoid duplication)
# - libtensorflow_framework and libtensorflow_cc (since TF 2.12) shared libraries (to avoid duplication)
# - import library (.lib) files (Windows-only)
data_excludes = [
"include",
"xla_aot_runtime_src",
"libtensorflow_framework.*",
"libtensorflow_cc.*",
"**/*.lib",
]

Expand Down

0 comments on commit 47e8baa

Please sign in to comment.