Apache OpenOffice (AOO) Bugzilla – Issue 18727
Parallel build in cpputools
Last modified: 2004-09-29 13:52:37 UTC
Hi, building current OpenOffice_1_1_rc4 with MAXPROCESS=4 in cpputools with: for i in `seq 100`; do rm -rf unxlngi4.pro/; build --from cpputools >log.$i 2>&1; ls -l log.$i; done pavel@oo:~/BuildDir/ooo_11rc4_src/cpputools> ls -l1 log*|awk '{print $5}'|sort -n|uniq -c 2 3271 1 4829 3 5170 86 8465 1 8828 2 8837 1 9781 1 10714 2 20863 1 24146 8465 is the good build. I'll attach all logs from bad builds as cpputools-logs.tgz
Created attachment 8816 [details] Log files.
The problems seem to be in two directories: source/unoexe/ source/regsingleton/ I just added MAXPROCESS=1 to makefile.mk's in those directories and the build went OK (except using only one CPU for those directories).
Created attachment 8842 [details] proposed makefile cleanup to solve problens
i had 100 successfull rebuilds with MAXPROCESS=4 of "cpputools" after applying this patch.
Me too, thank you. BTW: pavel@oo:~/BuildDir/ooo_11rc4_src/cpputools> ls -l1 log*|awk '{print $5}'|sort -n|uniq -c 2 8485 98 8510 Those two builds are too successfull, but: --- log.3 Thu Aug 28 17:22:16 2003 +++ log.4 Thu Aug 28 17:22:18 2003 @@ -11,10 +11,11 @@ Making: ../../unxlngi4.pro/misc/regsingleton.dpc touch ../../unxlngi4.pro/misc/regsingleton.dpc Making : Dependencies -cppumaker @/tmp/mkimZ1pk -cppumaker @/tmp/mknUJl8F -cppumaker @/tmp/mkYYuxO1 -cppumaker @/tmp/mkBAKkqn +cppumaker @/tmp/mk8CLTHP +cppumaker @/tmp/mk06qHEj +cppumaker @/tmp/mkAlFQyN +cppumaker @/tmp/mkMr1MIl +cppumaker @/tmp/mkAddCQT Do not look for temo files names, but for the number of cppumaker calls. There are only four of them in the shorter log. Is it OK?
the number of cppumaker call is a matter of timing: is the according header already generated by a previous call when dmake processes it's date. if not a new cppumaker is called. as you may imagine this is a multiprocessing issue too :-( we are currently evaluating some kind of lock-files for the tooling idl->rdb->hdl/hxx.
set target.
seems like i missed to update this one for a while...
.