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: Support config max concurrency jobs #1950

Closed
qhsong opened this issue Nov 7, 2023 · 5 comments
Closed

feature request: Support config max concurrency jobs #1950

qhsong opened this issue Nov 7, 2023 · 5 comments

Comments

@qhsong
Copy link

qhsong commented Nov 7, 2023

I use sccache to complier my project on 16c CPU to complier a C++ project, it seems sccache limit the jobs into cpu cores;

# ps aux|grep sccache|wc -l
131

# ps aux|grep clang++|grep -v sccache|wc -l
17

Seems sccache limited concurrency task into CPU count. This behavior seems not match with ccache. So can we set an config for max concurrent number?

@qhsong
Copy link
Author

qhsong commented Nov 7, 2023

Seems we need modify variable here:

None => Client::new_num(num_cpus::get()),

@sylvestre
Copy link
Collaborator

feel free to provide a PR

@qhsong
Copy link
Author

qhsong commented Nov 23, 2023

As a new Ruster, let me try here ...

@pomo-mondreganto
Copy link

I believe my latest PR #1993 fixes this issue

@qhsong
Copy link
Author

qhsong commented Dec 1, 2023

I believe my latest PR #1993 fixes this issue

yes, let me close and try it

@qhsong qhsong closed this as completed Dec 1, 2023
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

3 participants