-
Notifications
You must be signed in to change notification settings - Fork 10.5k
New defaults
module for build_swift
argument parser
#11911
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
New defaults
module for build_swift
argument parser
#11911
Conversation
@swift-ci please smoke test |
@swift-ci please smoke test |
defaults
module for build_swift
argument parser
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quick question. Looks good to me otherwise.
DARWIN_DEPLOYMENT_VERSION_WATCHOS = '2.0' | ||
|
||
UNIX_INSTALL_PREFIX = '/usr' | ||
DARWIN_INSTALL_PREFIX = ('/Applications/Xcode.app/Contents/Developer/' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that some of the options here are not used below. Why are they here? Specifically UNIX_INSTALL_PREFIX or am I missing something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They will be used very soon. I just didn't want to add more complexity in #11827.
@swift-ci please smoke test |
…the argument parser to configure the default build behavior.
3752897
to
f4ce818
Compare
@swift-ci please smoke test |
@swift-ci Please nominate Explanation: This is required staging for the larger task of refactoring |
Purpose
This PR is yet another small portion of code for staging #11827 and #11872. It adds a new
defaults
module tobuild_swift
that will hold all default values of significant importance which ought be editable from a single source and easily viewable. There's no functional difference with this PR and should be good to just merge once the tests have passed.rdar://problem/34425097