What is the effect of "MAKE_JOBS_UNSAFE=yes" in make.conf ?
What does it concretely do/change to the compilation of ports.
What does it concretely do/change to the compilation of ports.
cd /usr/ports/Mk
find . -type f|xargs grep -A2 MAKE_JOBS_UNSAFE
./bsd.gecko.mk:. if defined(DISABLE_MAKE_JOBS) || defined(MAKE_JOBS_UNSAFE)
./bsd.gecko.mk-MAKE_JOBS_NUMBER= 1
./bsd.gecko.mk-. endif
--
./bsd.port.mk:# MAKE_JOBS_UNSAFE
./bsd.port.mk-# - Disallow multiple jobs even when user set a global override.
./bsd.port.mk-# To be used with known bad ports.
--
./bsd.port.mk:. if defined(DISABLE_MAKE_JOBS) || defined(MAKE_JOBS_UNSAFE)
./bsd.port.mk-_MAKE_JOBS?= #
./bsd.port.mk-MAKE_JOBS_NUMBER= 1
--
./bsd.port.mk:BUILD_FAIL_MESSAGE+= Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer.
./bsd.port.mk-. endif
./bsd.port.mk-
find . -type f|xargs grep -l MAKE_JOBS_NUMBER
./Uses/cabal.mk
./Uses/cargo.mk
./Uses/go.mk
./Uses/ninja.mk
./Uses/pyqt.mk
./Uses/waf.mk
./Uses/ocaml.mk
./bsd.gecko.mk
./bsd.port.mk
MAKE_JOBS_UNSAFE prevents building in parallel.
<https://lists.freebsd.org/pipermail/freebsd-ports/2013-September/085871.html> – a response to What is MAKE_JOBS_UNSAFE?
<https://docs.freebsd.org/en/books/porters-handbook/special/#parallel-builds>
MAKE_JOBS_UNSAFE
. It's meant for build systems that are just broken with make jobs.