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

lib / pip_package: only include licenses if option is enabled #21378

Merged
merged 1 commit into from
Aug 9, 2018

Conversation

perfinion
Copy link
Member

The license files were included unconditionally so the whole dependency
needs to be downloaded even if disabled and not used. This puts them
behind in a select() so they are only included when the feature is
enabled for the build and significantly reduces the dependencies when
configured without all the cloud options.

Signed-off-by: Jason Zaman jason@perfinion.com

@case540 case540 requested a review from gunan August 6, 2018 17:40
@gunan gunan added kokoro:run kokoro:force-run Tests on submitted change labels Aug 6, 2018
@kokoro-team kokoro-team removed kokoro:run kokoro:force-run Tests on submitted change labels Aug 6, 2018
The license files were included unconditionally so the whole dependency
needs to be downloaded even if disabled and not used. This puts them
behind in a select() so they are only included when the feature is
enabled for the build and significantly reduces the dependencies when
configured without all the cloud options.

Signed-off-by: Jason Zaman <jason@perfinion.com>
@perfinion
Copy link
Member Author

@gunan gunan added kokoro:run kokoro:force-run Tests on submitted change labels Aug 7, 2018
@kokoro-team kokoro-team removed kokoro:run kokoro:force-run Tests on submitted change labels Aug 7, 2018
@gunan gunan added the ready to pull PR ready for merge process label Aug 8, 2018
@tensorflow-copybara tensorflow-copybara merged commit cb685b6 into tensorflow:master Aug 9, 2018
tensorflow-copybara pushed a commit that referenced this pull request Aug 9, 2018
PiperOrigin-RevId: 207975491
@perfinion perfinion deleted the licenses branch August 9, 2018 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes ready to pull PR ready for merge process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants