[Bug 237290] [PATCH] build(7): PORTS_MODULES does not build in parallel

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 16 21:41:03 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237290

--- Comment #2 from Bryan Drewery <bdrewery at FreeBSD.org> ---
Don't remove -B please. We do not want to pass -j down to the ports build.
Ports does not support -j. It uses an internal mechanism of MAKE_JOBS. Some
ports support it and others do not. Passing down -j doesn't do what you would
expect. 

Separate issue, but it's also not supported to build multiple ports at once
simply via 'make'. Something like Poudriere is needed for that.

# MAKE_JOBS_NUMBER
#               - Override the number of make jobs to be used.  User settable.
# MAKE_JOBS_NUMBER_LIMIT
#               - Set a limit for maximum number of make jobs allowed to be
#                 used.

MAKE_JOBS_NUMBER defaults to the number of CPU threads on the system as long as
you do not set DISABLE_MAKE_JOBS and the port isn't MAKE_JOBS_UNSAFE.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list