[poky] [Patch] fix for perl parallel build issue
Kamble, Nitin A
nitin.a.kamble at intel.com
Thu Feb 17 13:01:31 PST 2011
While building perl recipe in our yocto environment, we found that perl
parallel build (make -j 32) on a 40 way system was failing. As the
non-parallel (make -j 1) build was succeeding it was a build dependency issue.
Looking at the errors I came up with the attached patch which fixed the
parallel build.
This patch was made for perl version 5.12.2, but I see the latest perl git
tree can also take this fix.
Signed-Off-By: Nitin A Kamble <nitin.a.kamble at intel.com>
Index: perl-5.12.2/Makefile.SH
===================================================================
--- perl-5.12.2.orig/Makefile.SH 2010-09-06 16:30:32.000000000 -0700
+++ perl-5.12.2/Makefile.SH 2011-02-16 16:21:30.744143773 -0800
@@ -198,6 +198,8 @@
$this_target: uni.data" ;;
Text/ParseWords) extra_dep="$extra_dep
$this_target: lib/auto/Scalar/Util.$dlext" ;;
+ POSIX) extra_dep="$extra_dep
+$this_target: lib/auto/Cwd/Cwd.$dlext" ;;
esac
done
Thanks,
Nitin
====================================
Nitin A Kamble <nitin.a.kamble at intel.com>
Yocto Embedded Linux project http://www.yoctoproject.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parallel_build_fix.patch
Type: application/octet-stream
Size: 581 bytes
Desc: parallel_build_fix.patch
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110217/70db3a44/attachment.obj>
More information about the poky
mailing list