Skip to content

23 comments

hard to say, you could try changing this line right here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=something-for-reddit-git#n24

To something like make -j$(getconf _NPROCESSORS_ONLN).
This will enable building concurrently, there are some builds that have race conditions and fail with concurrency but it's rare.

I have some builds that take well over an hour depending on the system.

4 points

You can also edit the make flags globally for all packages in /etc/makepkg.conf:

MAKEFLAGS="-j$(nproc)"
2 points

I believe the getconf is a bit better if I remember correctly it handled some edge cases better under certain hyovisors that might report incorrectly.

But I agree putting that in the makepkg.conf is better place. I just wonder if it's bad practice to do it in PKGBUILD.

1 points
7OVO7OP11 hidden

It's the first program I install from the AUR to take this long time; and I have installed much larger programs to compile. It still compiling in, do I have to shut down the terminal, or is it not recommended? Yes it is still compiling, and now it's over an hour...

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.