Skip to content

Conversation

@erg
Copy link
Contributor

@erg erg commented Sep 27, 2016

This patch explicitly lists all overlay dependencies in the cmake files and adds a script to update them thus making the build more correct.

Resolves: rdar://problem/28501090

Risk: Low, only touches cmake files and a utils/ script that does not run automatically

@erg
Copy link
Contributor Author

erg commented Sep 27, 2016

@swift-ci Please test

@erg
Copy link
Contributor Author

erg commented Sep 27, 2016

@zisko Please review.

@zisko
Copy link
Contributor

zisko commented Sep 27, 2016

Looks good to me, I'm going to run a clean build of this on a fast machine to verify.

Doug Coleman added 2 commits September 28, 2016 12:56
…erlays are

added the build breaks. There's already a tool to get proper
dependencies, `utils/find-overlay-dependencies.sh`, so this patch
allows that tool to update the `CMakeLists.txt` files in-place.

Also it adds a line to the `CMakeLists.txt` files for each SDK so that the tool works.
os/activity.h or os/log.h. Update cmake files again, hardcoding a Darwin
dependency. The script does not notice that Foundation depends on
CoreGraphics, so add that manually.

Also found that MapKit is supported on WATCHOS but we didn't have dependencies
for that.

Favor one line per supported SDK instead of catch-all dependency lines.

Distinguish from SDKs which have no dependencies vs SDKs which are
unsupported on a particular platform by printing `unsupported` to the
console and remove the line in the cmake file because it should
not exist anyway.

This full cleanup was not done before because of circularity detected by the
util, which has since been fixed.

Support directories with spaces.
@erg erg force-pushed the swift-3.0-branch-cmake-overlays branch from 3d98ec2 to f5da06d Compare September 28, 2016 20:04
@erg
Copy link
Contributor Author

erg commented Sep 28, 2016

@swift-ci Please test

3 similar comments
@erg
Copy link
Contributor Author

erg commented Sep 28, 2016

@swift-ci Please test

@erg
Copy link
Contributor Author

erg commented Sep 28, 2016

@swift-ci Please test

@erg
Copy link
Contributor Author

erg commented Sep 28, 2016

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - f5da06d
Test requested by - @erg

@erg
Copy link
Contributor Author

erg commented Sep 28, 2016

@swift-ci Please test OS X platform

@tkremenek tkremenek merged commit 8a2efa6 into swiftlang:swift-3.0-branch Sep 29, 2016
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.

4 participants