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
hyprpm: build plugins with user specified build flags #5997
Comments
most plugins are very few files, and using all cores can hang the system up drastically though |
Maybe half of system cores then? |
if this were to be changed, it should respect user system environment setting (e.g. MAKEFLAGS or CMAKE_BUILD_PARALLEL_LEVEL) instead of hardcoding a number of threads IMO. hogging all cores or even half the cores is undesirable sometimes, and for other people they might want to use all cores and half would be too few for these people |
-j$(nproc)
I agree with the comment above, for how small plugins typically are it takes way too long (even comparable to the whole hyprland build in chroot by aurutils, on my system).
Which is completely nuts that that can still happen on a modern system. For anyone who cares about responsiveness under a heavy load I suggest |
I use zen and even then when cpu usage is close to 100% the system goes to shit :P |
Strangely enough, I only noticed that one compiling c++ (xanmod). Compiling rust, c, zig, etc and of course definitely makes my system slow down a bit but not crawl to a halt :P |
Plugins can be built with cmake + ninja if you want to use all cores. |
The point of this issue is that there should be some way to configure it for hyprpm. |
Description
Right now when installing/updating plugins that are built from source with
hyprpm
, they build with only one core, however, most systems would be able to update a lot faster by taking advantage of all cores when building.The text was updated successfully, but these errors were encountered: