detect and use cores
This commit is contained in:
parent
198a179792
commit
75763668cf
1 changed files with 3 additions and 0 deletions
3
larbs.sh
3
larbs.sh
|
@ -177,6 +177,9 @@ newperms "%wheel ALL=(ALL) NOPASSWD: ALL"
|
|||
# Make pacman and yay colorful because why not.
|
||||
sed -i "s/^#Color/Color/g" /etc/pacman.conf
|
||||
|
||||
# Use all cores for compilation.
|
||||
sed -i "s/-j2/-j$(nproc)/;s/^#MAKEFLAGS/MAKEFLAGS/" /etc/makepkg.conf
|
||||
|
||||
manualinstall $aurhelper || error "Failed to install AUR helper."
|
||||
|
||||
# The command that does all the installing. Reads the progs.csv file and
|
||||
|
|
Loading…
Reference in a new issue