diff options
author | Krzysztof (3ED) AS | 2015-09-21 14:50:57 +0200 |
---|---|---|
committer | Krzysztof (3ED) AS | 2015-09-21 14:50:57 +0200 |
commit | afe08a0a6106c555d193f59bd85064cb49049bfd (patch) | |
tree | 71b860e4241f8fcaca8f1ca3126d23d0f80b8c9a | |
parent | 216d7e2d8c76e1563e0898a616f6c1791ec479b0 (diff) | |
download | aur-afe08a0a6106c555d193f59bd85064cb49049bfd.tar.gz |
Option -j should be set in makepkg.conf
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -25,17 +25,8 @@ build() { --enable-gtk-doc \ --enable-python - # Who know? Does "make" do it automaticly? - local cpucounts="$(cat /sys/devices/system/cpu/online)" - cpucounts="${cpucounts#0-}" - if [[ $cpucounts =~ ^[0-9]+$ ]]; then - # This should make compilation much much faster on amds or - # expensive intels (with many cores). - make -j $[cpucounts + 1] - else - # Fallback - make - fi + # For SMP look at MAKEFLAGS="-j8" (where 8 is 8 cpus/cores) in /etc/makepkg.conf + make } package() { |