Skip to content
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

Setup, Update, and Build SettingsManager can't optimize based on user supplied CLI options because there is no sharing of that back to settings manager #47

Closed
spbrogan opened this issue Sep 9, 2019 · 1 comment

Comments

@spbrogan
Copy link
Member

spbrogan commented Sep 9, 2019

In trying to optimize the ci build time more has been identified that can be done if the SettingsManagers know more about what is going to actually build. This means things like individual packages, architectures, and targets. The SettingsManagers must be notified of the CLI settings prior to providing the active scopes or required repos.

A few optimizations that should be supported:

  • If a run is not going to build cryptopkg then it might not need the OpenSSL submodule.
    • This means that stuart setup, ci setup, and update needs to optionally be told what package is going to be built so that submodules and dependencies could be managed.
  • A run might only want to compile for DEBUG or RELEASE.
    • The Target should be settable on the cli.
  • A run might only want to compile/test for a given arch
    • Arch should be settable on the cli
@spbrogan
Copy link
Member Author

resolved by PR #48

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

No branches or pull requests

1 participant