From e1ae8d91a1bdd6e474c9334503581ce7c538fb9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 16 Feb 2023 15:26:35 +0100 Subject: portage make --- etc/portage/make.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'etc/portage') 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 -- cgit v1.2.3