Skip to content

[TF] Simplify tensorflow_osx_base build preset. #29947

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

Merged
merged 1 commit into from
Feb 20, 2020

Conversation

dan-zheng
Copy link
Contributor

Previously, the tensorflow_osx_base preset duplicated all options from from the buildbot_osx_package preset. This was not ideal: tensorflow_osx_base was not robust against changes to buildbot_osx_package and broke when changes were not copied.

Now, tensorflow_osx_base directly uses buildbot_osx_package as a mixin.

Resolves TF-941.


Verified that swift/utils/build-toolchain-tensorflow --pkg continues to pass on macOS.
Updating update-checkout-config.json was necessary to make it pass.

Previously, the `tensorflow_osx_base` preset duplicated all options from
from the `buildbot_osx_package` preset. This was not ideal:
`tensorflow_osx_base` was not robust against changes to `buildbot_osx_package`
and broke when changes were not copied.

Now, `tensorflow_osx_base` directly uses `buildbot_osx_package` as a mixin.

Updating `update-checkout-config.json` was necessary to make
`build-toolchain-tensorflow` pass.

Resolves TF-941.
@dan-zheng dan-zheng added the tensorflow This is for "tensorflow" branch PRs. label Feb 20, 2020
@dan-zheng dan-zheng requested a review from compnerd February 20, 2020 06:58
@dan-zheng
Copy link
Contributor Author

Merging this patch to unblock progress. Happy to address comments later!

Skipping CI since it doesn't test the tensorflow_osx_base preset. @swift-ci Please test tensorflow happens to be down, too.

@dan-zheng dan-zheng merged commit 8ecce4f into swiftlang:tensorflow Feb 20, 2020
@dan-zheng dan-zheng deleted the tf-macosx-build-preset branch February 20, 2020 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tensorflow This is for "tensorflow" branch PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant