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

Incremental building of dependencies #832

Merged
merged 5 commits into from
Sep 9, 2021
Merged

Incremental building of dependencies #832

merged 5 commits into from
Sep 9, 2021

Conversation

mosteo
Copy link
Member

@mosteo mosteo commented Sep 9, 2021

Fixes #628

For context: we want to build dependencies in a safe order, so tools built by a dependency become available down the building chain.

@Fabien-Chouteau , this is istill work in progress, but I've hit a situation. When trying to build shoot_n_loot with this patch, it fails because it tries to build the project files in samd51_hal. My question would be if this is a problem with our current idea, or with some crate configuration.

Right now, the feature works by trying to build all project files in dependencies that have auto_gpr_with enabled. Perhaps we could restrict it further to crates explicitly declaring executables?

@Fabien-Chouteau
Copy link
Member

Perhaps we could restrict it further to crates explicitly declaring executables?

Yes that's a better option because the libraries can be compiled for different targets and Alire doesn't know that.

@mosteo mosteo force-pushed the feat/incremental-build branch from 1cf1f3a to 4b4aead Compare September 9, 2021 09:22
And minor bug in which the code as improperly assumed to be positive
@mosteo mosteo marked this pull request as ready for review September 9, 2021 10:15
@mosteo mosteo merged commit 1ccf3bf into next Sep 9, 2021
@mosteo mosteo deleted the feat/incremental-build branch September 9, 2021 15:45
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.

2 participants