summaryrefslogtreecommitdiffstats
path: root/etc/portage
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-02-16 15:26:35 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-02-16 15:26:35 +0100
commite1ae8d91a1bdd6e474c9334503581ce7c538fb9f (patch)
treef306900a4136a7adf1920689762f2cfa141d6571 /etc/portage
parentquiet R (diff)
downloadn-e1ae8d91a1bdd6e474c9334503581ce7c538fb9f.tar
n-e1ae8d91a1bdd6e474c9334503581ce7c538fb9f.tar.gz
n-e1ae8d91a1bdd6e474c9334503581ce7c538fb9f.tar.bz2
n-e1ae8d91a1bdd6e474c9334503581ce7c538fb9f.tar.lz
n-e1ae8d91a1bdd6e474c9334503581ce7c538fb9f.tar.xz
n-e1ae8d91a1bdd6e474c9334503581ce7c538fb9f.tar.zst
n-e1ae8d91a1bdd6e474c9334503581ce7c538fb9f.zip
Diffstat (limited to 'etc/portage')
-rw-r--r--etc/portage/make.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/portage/make.conf b/etc/portage/make.conf
index c558f29..61ad359 100644
--- a/etc/portage/make.conf
+++ b/etc/portage/make.conf
@@ -17,7 +17,9 @@ PKGDIR="/var/cache/binpkgs"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
-MAKEOPTS="-j$(nproc) -l$(nproc)"
+
+# I only have one machine in distcc hosts ATM
+MAKEOPTS="-j$(ssh `cat /etc/distcc/hosts | grep -v '#' | cut -d/ -f1` nproc || nproc) -l$(nproc)"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ http://packages.hs-regensburg.de/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.tu-ilmenau.de/mirror/gentoo/ http://ftp.fau.de/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
# mirrorselect -i -o >> /etc/portage/make.conf