summaryrefslogtreecommitdiffstats
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
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 '')
-rw-r--r--etc/portage/make.conf4
-rw-r--r--root/.profile1
2 files changed, 4 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
diff --git a/root/.profile b/root/.profile
index e8f0038..9f756d3 100644
--- a/root/.profile
+++ b/root/.profile
@@ -68,3 +68,4 @@ alias egrep='egrep --color=auto'
fi
[ -f ~/.bash_aliases ] && . ~/.bash_aliases
[ -f ~/.private_source ] && . ~/.private_source
+: