Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Catalina-compatible FileHandle operations #678

Merged
merged 1 commit into from
Oct 14, 2020

Conversation

BradLarson
Copy link
Contributor

PR #668 added an append() method to the FileSystem protocol and an implementation in FoundationFileSystem. This implementation used FileHandle and several methods which have had their signatures change between macOS 10.15 (Catalina) and 10.16 (Big Sur). The current implementation uses the new interface, which will build with the latest Linux toolchain but will not build on the current macOS 10.15 (Catalina).

This provides the older interface for use when building on macOS, and the newer one for other OS versions. Once Big Sur is the dominant build environment for macOS, we can remove this fallback.

@BradLarson BradLarson requested a review from xihui-wu October 13, 2020 21:24
Copy link
Contributor

@xihui-wu xihui-wu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@BradLarson BradLarson merged commit 1ee08bd into tensorflow:master Oct 14, 2020
@BradLarson BradLarson deleted the macOS-FileHandle branch October 14, 2020 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants