Skip to content

[build-script] Add support for passing --reconfigure to arbitrary presets and remove --reconfigure from stdlib standalone presets #25214

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

Conversation

gottesmm
Copy link
Contributor

@gottesmm gottesmm commented Jun 3, 2019

I realized that if one reconfigures the standalone presets, we seem to always rebuild everything. To work around this, I added a --reconfigure option to build-script's preset code to allow one to add --reconfigure to arbitrary build-script-impl lines. This then lets me make the default behavior of the standalone stdlib be to /not/ reconfigure.

@gottesmm
Copy link
Contributor Author

gottesmm commented Jun 3, 2019

@swift-ci python lint

gottesmm added 2 commits June 2, 2019 23:18
This works just by passing reconfigure to build-script-impl. This lets one
remove --reconfigure from presets and let the invoker of the preset decide
whether or not to to reconfigure.
…e presets.

With the previous commit, one can choose when to reconfigure. I have noticed
that when we reconfigure the preset, we always rebuild. So having reconfigure by
default messes with the experience of using the preset.
@gottesmm gottesmm force-pushed the pr-ca4f1e17cef6e16b8230c7664a43cddd822909fd branch from 7d6f131 to af77f11 Compare June 3, 2019 06:18
@gottesmm
Copy link
Contributor Author

gottesmm commented Jun 3, 2019

@swift-ci python lint

3 similar comments
@gottesmm
Copy link
Contributor Author

gottesmm commented Jun 3, 2019

@swift-ci python lint

@gottesmm
Copy link
Contributor Author

gottesmm commented Jun 3, 2019

@swift-ci python lint

@gottesmm
Copy link
Contributor Author

gottesmm commented Jun 3, 2019

@swift-ci python lint

@gottesmm
Copy link
Contributor Author

gottesmm commented Jun 3, 2019

@swift-ci smoke test

1 similar comment
@gottesmm
Copy link
Contributor Author

gottesmm commented Jun 3, 2019

@swift-ci smoke test

@gottesmm gottesmm merged commit 561793e into swiftlang:master Jun 3, 2019
@gottesmm gottesmm deleted the pr-ca4f1e17cef6e16b8230c7664a43cddd822909fd branch June 3, 2019 14:44
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.

1 participant