I seemed to be extremely lucky in getting "gmake -j3" to stomp all
over the place when doing the "mktables" step: either two or three
mktables getting invoked and trying to run simultaneously, sometimes
miraculously not corrupting any files, but most of the time failing
in various mysterious ways. The attached patch attempts to funnel
even parallel makes through a single execution path.
--
Jarkko Hietaniemi <[EMAIL PROTECTED]> http://www.iki.fi/jhi/ "There is this
special
biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen
--- Makefile.SH.dist 2004-12-01 19:01:55.000000000 +0200
+++ Makefile.SH 2004-12-01 19:14:56.000000000 +0200
@@ -771,8 +771,11 @@
@-rm -f $@
$(LDLIBPTH) ./miniperl -Ilib lib/lib_pm.PL
-$(unidatafiles): miniperl$(EXE_EXT) lib/Config.pm lib/unicore/mktables
+unidatafiles $(unidatafiles): uni.data
+
+uni.data: miniperl$(EXE_EXT) lib/Config.pm lib/unicore/mktables
cd lib/unicore && $(LDLIBPTH) ../../miniperl -I../../lib mktables -w
+ touch uni.data
extra.pods: miniperl$(EXE_EXT)
[EMAIL PROTECTED] -f extra.pods && rm -f `cat extra.pods`
@@ -987,7 +990,7 @@
-rmdir .depending
[EMAIL PROTECTED] -f extra.pods && rm -f `cat extra.pods`
[EMAIL PROTECTED] -f vms/README_vms.pod && rm -f vms/README_vms.pod
- -rm -f perl.exp ext.libs extra.pods opmini.o
+ -rm -f perl.exp ext.libs extra.pods uni.data opmini.o
-rm -f perl.export perl.dll perl.libexp perl.map perl.def
-rm -f perl.loadmap miniperl.loadmap perl.prelmap miniperl.prelmap
-rm -f perl.third lib*.so.perl.third perl.3log t/perl.third t/perl.3log