[PATCH] multiprocessing.eclass: un-deprecate makeopts_{jobs,loadavg}
Mike Gilbert <[email protected]>
| Newsgroups | gmane.linux.gentoo.devel |
|---|---|
| Message-ID | <[email protected]> |
This was causing some strange CI failures on Github and Codeberg. We may also want to rethink this API change given the was these functions are used in zig.eclass and sci-libs/vtk. Signed-off-by: Mike Gilbert <[email protected]> --- eclass/multiprocessing.eclass | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/eclass/multiprocessing.eclass b/eclass/multiprocessing.eclass index 840d2d9ab2c8..6fdac2a0af63 100644 --- a/eclass/multiprocessing.eclass +++ b/eclass/multiprocessing.eclass @@ -87,9 +87,8 @@ get_makeopts_jobs() { # @FUNCTION: makeopts_jobs # @USAGE: [${MAKEOPTS}] [${inf:-$(( $(get_nproc) + 1 ))}] -# @DEPRECATED: get_makeopts_jobs # @DESCRIPTION: -# This function is deprecated and banned in EAPI 9, use get_makeopts_jobs instead. +# This function is banned in EAPI 9, use get_makeopts_jobs instead. # Searches the arguments (or sensible defaults) and extracts the jobs number # specified therein. Useful for running non-make tools in parallel too. # i.e. if the user has MAKEOPTS=-j9, this will echo "9" -- we can't return the @@ -130,9 +129,8 @@ get_makeopts_loadavg() { # @FUNCTION: makeopts_loadavg # @USAGE: [${MAKEOPTS}] [${inf:-999}] -# @DEPRECATED: get_makeopts_loadavg # @DESCRIPTION: -# This function is deprecated and banned in EAPI 9, use get_makeopts_loadavg instead. +# This function is banned in EAPI 9, use get_makeopts_loadavg instead. # Searches the arguments (or sensible defaults) and extracts the value set # for load-average. For make and ninja based builds this will mean new jobs are # not only limited by the jobs-value, but also by the current load - which might -- 2.53.0