[Bug 237290] [PATCH] build(7): PORTS_MODULES does not build in parallel
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Apr 16 16:55:38 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237290
--- Comment #8 from Bryan Drewery <bdrewery at FreeBSD.org> ---
(In reply to rozhuk.im from comment #3)
What's a terrible idea is making a change you don't understand. The -j flag
has 0 impact on the ports build except to BREAK it. -j is not how ports
are allowed to use make jobs. These fields are:
# 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.
# 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.
77 # Read ports defaults.
78 PORTSDIR?= $(${MAKE} -V PORTSDIR)
79 DISTDIR?= $(${MAKE} -V DISTDIR)
80 PORT_DBDIR?= $(${MAKE} -V PORT_DBDIR)
81 OPTIONS_SET?= $(${MAKE} -V OPTIONS_SET)
82 OPTIONS_UNSET?= $(${MAKE} -V OPTIONS_UNSET)
83 NO_CCACHE?= $(${MAKE} -V NO_CCACHE)
84 CCACHE_DIR?= $(${MAKE} -V CCACHE_DIR)
85 WITH_CCACHE_BUILD?= $(${MAKE} -V WITH_CCACHE_BUILD)
86 DEFAULT_VERSIONS?= $(${MAKE} -V DEFAULT_VERSIONS)
87 WITH_DEBUG_PORTS?= $(${MAKE} -V WITH_DEBUG_PORTS)
This is completely redundant and not needed.
This is no such thing as maintainer timeout on this code as it is not ports.
I suggest if you want this fixed you explore why the MAKE_JOBS settings are not
used and why those env vars were needed when they are already available in
ports.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list