Apache OpenOffice (AOO) Bugzilla – Issue 125121
the tg_ext.mk step for "make writeable" takes way too long
Last modified: 2017-05-20 10:35:09 UTC
The "make writeable" step in tg_ext.mk is used for setting the file and directory permissions after external tarballs have been unpacked. On windows this step takes way too long (e.g. 500 seconds for boost), especially compared to the simple task at hand. The root cause seems to be that chmod is done for each directory individually and windows/cygwin is quite slow in starting processes.
"hdu" committed SVN revision 1603756 into trunk: #i125121# speed up the "make writeable" step when building external libraries
With the fix above the process creation bottleneck is removed and the step has become about ten times faster on Windows without SSD (460sec -> 41sec for boost). With SSD storage the speedup should be even higher.