I am compiling Firefox and Chromium browsers using poudriere:
where 'mypackages' contains:
The problem is that browsers, which are heavy packages to compile, compile at the same time. This happens regardless of how the PRIORITY_BOOST option is configured:
var1 - chromium + firefox:
or var2 - firefox only:
As a result, compilation of browsers occurs simultaneously. I can clearly see this in the logs in the poudriere's web interface. The machine has an E5-2420 cpu (6 cores, 12 threads) and 24Gb of RAM, and this load is too high. As a result of simultaneous compilation, this build fails.
poudriere.conf (please critique this config)
Does anyone have any ideas how to make it so that 1 of any browser is compiled first, and then the second, in turn?
Code:
poudriere bulk -j $jail -p $port -z $s -f pkglist/mypackages
Code:
www/chromium
www/firefox
var1 - chromium + firefox:
Code:
PRIORITY_BOOST="chromium firefox emacs-devel gcc* ghc llvm* rust"
Code:
PRIORITY_BOOST="firefox emacs-devel gcc* ghc llvm* rust"
poudriere.conf (please critique this config)
Code:
ALLOW_MAKE_JOBS=yes
BASEFS=/build
BUILDER_HOSTNAME=pkg.example.com
CCACHE_DIR=/build/ccache
CHECK_CHANGED_DEPS=yes
CHECK_CHANGED_OPTIONS=verbose
DISTFILES_CACHE=/build/distfiles
FREEBSD_HOST=https://download.freebsd.org
KEEP_OLD_PACKAGES=yes
KEEP_OLD_PACKAGES_COUNT=4
NOLINUX=yes
PKG_REPO_SIGNING_KEY=/usr/local/etc/ssl/keys/poudriere.key
POUDRIERE_DATA=${BASEFS}/data
PRIORITY_BOOST="chromium firefox emacs-devel gcc* ghc llvm* rust"
RESOLV_CONF=/etc/resolv.conf
USE_COLORS=yes
USE_PORTLINT=no
USE_TMPFS=yes
ZPOOL=mypool
ZROOTFS=/poudriere
Does anyone have any ideas how to make it so that 1 of any browser is compiled first, and then the second, in turn?
Last edited: