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

[Feature Request]: Parallel Building #90

Open
lexi-the-cute opened this issue May 16, 2023 · 1 comment
Open

[Feature Request]: Parallel Building #90

lexi-the-cute opened this issue May 16, 2023 · 1 comment

Comments

@lexi-the-cute
Copy link

I'd like to request parallel building. For example, using the same flags as cargo build. An example is using cargo deb -j 4 --target=aarch64-unknown-linux-gnu --variant=rasberrypios when there's 2 logical CPUs.

@kornelski
Copy link
Owner

cargo deb just runs cargo build, and Cargo builds in parallel by default, i.e. the default for -j is the number of cores you have. So it should be parallel already. Note that it can be parallelized only on the crate level, so if you're building one crate it will just build that one.

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