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

expose link jobs of cmake/meson #2028

Open
nekopsykose opened this issue May 20, 2024 · 0 comments
Open

expose link jobs of cmake/meson #2028

nekopsykose opened this issue May 20, 2024 · 0 comments

Comments

@nekopsykose
Copy link
Contributor

cmake

-DCMAKE_JOB_POOLS=mycustomthing=somenumber
-DCMAKE_JOB_POOL_LINK=mycustomthing

meson

-Dbackend_max_links=somenumber

config

[build]
# link jobs in meson/cmake; defaults to jobs
link_jobs = 0

useful since by default lld thinlto will use all your threads but also link jobs are equal to thread count, so in qemu/mesa you get very high load for no reason. would be useful to be able to set it to =4 or similar locally

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

1 participant