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

Add the ability to build a specific target, instead of everything at once #61

Open
jyn514 opened this issue Oct 13, 2021 · 1 comment
Open

Comments

@jyn514
Copy link
Contributor

jyn514 commented Oct 13, 2021

Right now, Ekam's only rule is "build everything you know how to build" (where "how to build" is determined by .ekam-rule files). This is great for building binaries, but makes feedback slow for tests, especially given #60. It would be nice to tell Ekam to only build what's necessary for a single test.

This also helps when build tasks are more expensive and take longer to fail than normal, e.g. when building with LTO. If Ekam allowed building only that binary, it would be much faster than also building every other binary with LTO (especially since LTO does most of the work at the link stage, so there's lot of repeated work).

@kentonv
Copy link
Member

kentonv commented Oct 15, 2021

This is, of course, only possible if Ekam has knowledge of the dependency tree from a previous build. Otherwise Ekam's only way of discovering dependencies is to "explore" and build everything.

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

2 participants