[meta-java,2/2] openjdk-8-cross: replace BB_NUMBER_THREADS with PARALLEL_MAKEINST
Submitted by Richard Leitner on Oct. 25, 2020, 8:10 p.m.
|
Patch ID: 178349
Details
Commit Message
@@ -86,13 +86,13 @@ do_install_append() {
if ${@bb.utils.contains('PACKAGECONFIG', 'repack', 'true', 'false', d)} ; then
if [ -d ${D}${JDK_HOME} ] ; then
find ${D}${JDK_HOME} -name "*.jar" -print0 | \
- xargs -0 -n1 -P ${BB_NUMBER_THREADS} sh -c ' \
+ xargs -0 -n1 -P ${PARALLEL_MAKEINST} sh -c ' \
echo "Repacking" "$0" ; \
pack200 --repack --effort=9 --segment-limit=-1 --modification-time=latest --strip-debug "$0"'
fi
if [ -d ${D}${JRE_HOME} ] ; then
find ${D}${JRE_HOME} -name "*.jar" -print0 | \
- xargs -0 -n1 -P ${BB_NUMBER_THREADS} sh -c ' \
+ xargs -0 -n1 -P ${PARALLEL_MAKEINST} sh -c ' \
echo "Repacking" "$0" ; \
pack200 --repack --effort=9 --segment-limit=-1 --modification-time=latest --strip-debug "$0"'
fi
do_install_append of openjdk-8-cross should use PARALLEL_MAKEINST instead of BB_NUMBER_THREADS. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> --- recipes-core/openjdk/openjdk-8-cross.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.28.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#87681): https://lists.openembedded.org/g/openembedded-devel/message/87681 Mute This Topic: https://lists.openembedded.org/mt/77799804/1003190 Group Owner: openembedded-devel+owner@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [mhalstead@linuxfoundation.org] -=-=-=-=-=-=-=-=-=-=-=-