Because it's a Linux option.kenorb said:Why?
SirDice said:Because it's a Linux option.
wblock said:In FreeBSD's /etc/make.conf that would be
Code:MAKE_JOBS_NUMBER=8
At least for ports, I don't think that affects other source.
> man make.conf | less +/MAKE_JOBS_NUMBER
Pattern not found (press RETURN)
Read /usr/ports/Mk/bsd.port.mk.kenorb said:Why is not documented or where it's?
# Multiple make jobs support
.if defined(DISABLE_MAKE_JOBS) || defined(MAKE_JOBS_UNSAFE)
_MAKE_JOBS= #
.else
.if defined(MAKE_JOBS_SAFE) || defined(FORCE_MAKE_JOBS)
MAKE_JOBS_NUMBER?= `${SYSCTL} -n kern.smp.cpus`
_MAKE_JOBS?= -j${MAKE_JOBS_NUMBER}
.if defined(FORCE_MAKE_JOBS) && !defined(MAKE_JOBS_SAFE)
BUILD_FAIL_MESSAGE+= "You have chosen to use multiple make jobs (parallelization) for all ports. This port was not tested for this setting. Please remove FORCE_MAKE_
JOBS and retry the build before reporting the failure to the maintainer."
.endif
.endif
.endif
Why don't you just read the remarks?kenorb said:That mean you need to define MAKE_JOBS_SAFE or FORCE_MAKE_JOBS, to define MAKE_JOBS_NUMBER?
##
# MAKE_JOBS_SAFE
# - This port can safely be built on multiple cpus in parallel.
# The make will be invoked with -jX parameter where X equals
# number of cores present in the system.
# MAKE_JOBS_UNSAFE
# - Disallow multiple jobs even when user set a global override.
# To be used with known bad ports.
# DISABLE_MAKE_JOBS
# - Set to disable the multiple jobs feature. User settable.
# FORCE_MAKE_JOBS
# - Force all ports to be built with multiple jobs, except ports
# that are explicitly marked MAKE_JOBS_UNSAFE. User settable.
# MAKE_JOBS_NUMBER
# - Override the number of make jobs to be used. User settable.
FORCE_MAKE_JOBS=yes
MAKE_JOBS_NUMBER=8
kenorb said:Following posts in this forum point to that variable:
http://forums.freebsd.org/showthread.php?p=1886#post1886
http://forums.freebsd.org/showthread.php?p=17289#post17289
http://forums.freebsd.org/showthread.php?p=96467#post96467 (it kind of works?)
http://forums.freebsd.org/showthread.php?p=100851#post100851
http://forums.freebsd.org/showthread.php?p=107599#post107599
http://forums.freebsd.org/showthread.php?p=10561#post10561 (even to MAKEOPT)
And found thousands of examples in Google.
How it's possible that it doesn't work and even that half of the people have it in make.conf?
They all are wrong?
killasmurf86 said:Linuxis has deep roots