FYI: Make for faster windows build

Lubos Lunak l.lunak at suse.cz
Wed Jan 9 12:52:08 PST 2013


On Wednesday 09 of January 2013, Lubos Lunak wrote:
>  Looks what I found under the tree! Faster make for Cygwin. Granted, I had
> put it there first, but still nice.
>
>  Those of you who build on Windows, you might want to pull again from
> git://gerrit.libreoffice.org/dev-tools.git and update your make. I've
> implemented built-in support for some simple commands used by gbuild such
> as mkdir or cp, and since fork() is pretty slow on Cygwin, this makes some
> operations such as delivering noticeably faster. Tinderbox #6 has been
> using it for two weeks without a problem.

 I knew there was one more thing I wanted to mention. The make we have in 
dev-tools actually doesn't build with WINDOWS32 #define (both as in that the 
#define doesn't get set by configure and that if it's explicitly set the code 
doesn't compile successfully).

 So there's apparenly some Win32-specific code there, but it doesn't get 
built. And sources for the cygwin make package have more Win32-specific code. 
I have no idea what difference that'd make, I think there's Win32-specific 
code instead of fork(), I don't know if there's any Win32-specific stat() 
replacement or whether that'd make a noticeable difference. So if somebody 
would feel like playing with it.

-- 
 Lubos Lunak
 l.lunak at suse.cz


More information about the LibreOffice mailing list