You are not logged in.

#1 2022-07-09 06:11:29

rajhlinux
Member
Registered: 2022-07-08
Posts: 58

Tell "yay" AUR helper to build packages using multiple CPU cores?

Hello,

How can I write a command to tell "yay" (the AUR helper tool) to build packages using multiple cores?

It seems "yay" is only using 2 cores or less when building packages when I have 8 cores available.

How do I know if "yay" is utilizing all of the CPU cores?

I ask because packages are being built super slow, is this common with "yay"?

I entered (10 mins ago):

yay -s https://aur.archlinux.org/ffmpeg-amd-full-git.git

and it is still building the package, which is way too long from my experience in manually installing them.

Thanks.

Last edited by rajhlinux (2022-07-09 06:12:44)

Offline

#2 2022-07-09 06:20:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Tell "yay" AUR helper to build packages using multiple CPU cores?

Yay doesn'tbuild anything. Learn how the Arch build process actually works:
https://wiki.archlinux.org/title/Makepk … ompilation


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2022-07-09 08:41:47

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,386
Website

Re: Tell "yay" AUR helper to build packages using multiple CPU cores?

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2022-07-13 15:43:36

JaydenDev
Member
Registered: 2022-07-11
Posts: 172

Re: Tell "yay" AUR helper to build packages using multiple CPU cores?

This is entirely dependent on the maintainers PKGBUILD. So it's building from git, the build commands in the PKGBUILD are probably building the software in a predefined about of cores.


System Specs:
Intel Core i5-2400 Nvidia GTX 1050ti Logitech G402 Hyperion Fury (Mouse) BestBuy Essentials USB Keyboard
Software Specifications:
Desktop Environment: KDE Plasma Window Manager: KWin Operating System: Arch Linux (btw)

Offline

#5 2022-07-13 15:55:50

loqs
Member
Registered: 2014-03-06
Posts: 18,014

Re: Tell "yay" AUR helper to build packages using multiple CPU cores?

JaydenDev wrote:

This is entirely dependent on the maintainers PKGBUILD.

No.  Please reread the link Jason provided.

Offline

Board footer

Powered by FluxBB