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

Dev-mode build #436

Closed
tjkirch opened this issue Oct 18, 2019 · 2 comments
Closed

Dev-mode build #436

tjkirch opened this issue Oct 18, 2019 · 2 comments
Labels
type/enhancement New feature or request

Comments

@tjkirch
Copy link
Contributor

tjkirch commented Oct 18, 2019

I'd like to be able to build more quickly during development by using a mode that disables LTO, high optimization levels, and other features that are meant for release performance.

@tjkirch
Copy link
Contributor Author

tjkirch commented Oct 18, 2019

I think cargo-make might support something like this natively, given that I see Finished dev [optimized] in my builds, and their site shows Finished dev [unoptimized + debuginfo] on some examples? Also curious about that dev keyword.

@bcressey
Copy link
Contributor

bcressey commented Dec 9, 2019

I thought I was doing this in #578 but need to read more carefully. 😄

I expect we still want this even though we aren't doing LTO for release builds at the moment. Turning off debuginfo packaging should provide a nice speed-up.

My current thinking is that we could have another file under macros that corresponds to the Bottlerocket profile we're building, and the "dev" version of the macros could tweak debuginfo and optimization behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants