Skip to content

Conversation

@dan-zheng
Copy link
Contributor

Rename clang-headers to clang-resources-headers.
Upstream patch: #27161

This fixes macOS toolchain builds via build-toolchain-tensorflow.

Rename `clang-headers` to `clang-resources-headers`.
Upstream patch: swiftlang#27161

This fixes macOS toolchain builds via `build-toolchain-tensorflow`.
@dan-zheng dan-zheng added the tensorflow This is for "tensorflow" branch PRs. label Nov 1, 2019

swift-install-components=compiler;clang-resource-dir-symlink;stdlib;sdk-overlay;parser-lib;toolchain-tools;license;sourcekit-xpc-service;swift-remote-mirror;swift-remote-mirror-headers
llvm-install-components=llvm-cov;llvm-profdata;IndexStore;clang;clang-headers;compiler-rt;clangd
llvm-install-components=llvm-cov;llvm-profdata;IndexStore;clang;clang-resource-headers;compiler-rt;clangd
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: it would be much nicer to avoid these issues by reusing the mixin_osx_package_base preset for tensorflow_osx_base instead of duplicating it.

Here's a historical note for the tensorflow_osx_base preset:

# Note: tensorflow_osx_base does not mix in "buildbot_osx_package" or
# "mixin_osx_package_base" because they enable ios/tvos/watchos and tests by
# default.
# Instead, options are copied here individually.
[preset: tensorflow_osx_base]
mixin-preset=mixin_lightweight_assertions

We could try mixing in mixin_osx_package_base for tensorflow_osx_base and overriding ios/tvos/watchos with skip-ios/skip-tvos/skip-watchos.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Filed TF-941 to track this issue.

@dan-zheng dan-zheng requested review from marcrasi and pschuh November 1, 2019 21:03
@dan-zheng
Copy link
Contributor Author

@swift-ci Please test tensorflow

@dan-zheng
Copy link
Contributor Author

@swift-ci Please clean test tensorflow linux

@dan-zheng dan-zheng merged commit 28ce7af into swiftlang:tensorflow Nov 4, 2019
@dan-zheng dan-zheng deleted the tensorflow-fix-preset branch November 4, 2019 18:58
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.

2 participants