Skip to content

Conversation

@graydon
Copy link
Contributor

@graydon graydon commented Jan 13, 2017

Cherry-pick for swift-3.1-branch of #5977

Includes option setting the bridging PCH system to off by default.

See rdar://29016063

We're trying to get rid of implicit bridging-header imports, as a feature.
These are IMPORTED_HEADER blocks left in modules built with bridging
headers, that trigger re-importing the bridging header into any client
that imports the module.

As a half-way measure to deprecating them, we add a warning here that
triggers when an implicit bridging-header import occurs that is _not_
suppressed as redundant by clang.
This happens fairly regularly in unit testing scenarios.
@tkremenek
Copy link
Member

@swift-ci test

@graydon
Copy link
Contributor Author

graydon commented Jan 13, 2017

Unfortunately it won't build without its corresponding change in clang: apple/swift-clang#61

@jrose-apple
Copy link
Contributor

Which we can do!

apple/swift-clang#61
@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - d557114
Test requested by - @jrose-apple

@jrose-apple
Copy link
Contributor

…unless update_checkout fails for some reason. @erg?

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - d557114
Test requested by - @jrose-apple

@graydon
Copy link
Contributor Author

graydon commented Jan 13, 2017

apple/swift-clang#61
@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - d557114
Test requested by - @graydon

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - d557114
Test requested by - @graydon

@graydon
Copy link
Contributor Author

graydon commented Jan 13, 2017

"18:39:57 NameError: global name 'lock' is not defined" uh yes, that's not me!

@tkremenek tkremenek merged commit badaeb2 into swiftlang:swift-3.1-branch Jan 13, 2017
@erg
Copy link
Contributor

erg commented Jan 13, 2017

The swift-3.1-branch got the update-checkout parallelize patch but not the fix for that patch 8526d16.

If you use shell.run before calling run_parallel the lock that synchronizes writes to console is not initialized yet.

This patch 8526d16 should get into swift-3.1-branch.

@graydon graydon deleted the rdar-29016063-swift-3.1-branch-precompile-bridging-header branch January 18, 2017 22:35
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.

5 participants