Skip to content

Commit

Permalink
qlop, parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
thesamesam committed Feb 7, 2024
1 parent bf69500 commit d6ee894
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/ciimage/gentoo/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ cat <<-EOF > /etc/portage/binrepos.conf/gentoo.conf
EOF

cat <<-EOF >> /etc/portage/make.conf
EMERGE_DEFAULT_OPTS="--deep --quiet --quiet-build --color=n"
EMERGE_DEFAULT_OPTS="--deep --quiet --quiet-build --color=n --jobs=$(nproc) --load-average=$(nproc)"
EMERGE_DEFAULT_OPTS="\${EMERGE_DEFAULT_OPTS} --autounmask-write --autounmask-continue --autounmask-keep-keywords=y --autounmask-use=y"
EMERGE_DEFAULT_OPTS="\${EMERGE_DEFAULT_OPTS} --binpkg-respect-use=y --getbinpkg=y"
FEATURES="\${FEATURES} parallel-fetch parallel-install -merge-sync"
Expand Down Expand Up @@ -150,7 +150,8 @@ echo 'dev-lang/python ensurepip' >> /etc/portage/package.use/python
# If we don't want to do this, we could use the 'portage' container instead
# so the stage3/repo match.
emerge --update --deep --changed-use @world
emerge --noreplace "${pkgs[@]}"
emerge --noreplace "${pkgs[@]}" app-portage/portage-utils
qlop

env-update && . /etc/profile

Expand Down

0 comments on commit d6ee894

Please sign in to comment.