chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] Sleep for two seconds before generating build-


From: Peter Bex
Subject: [Chicken-hackers] [PATCH] Sleep for two seconds before generating build-version.c
Date: Tue, 20 May 2014 21:59:28 +0200
User-agent: Mutt/1.4.2.3i

Hi all,

As I've explained elsewhere, our release builds have some problems on
Haiku due to BFS (its default file system) having only second-resolution
timestamps.  This causes trouble with GNU Make, as it thinks that some
generated files are older than the source files which are generated on
the exact same second (but milliseconds earlier).

This is a bit odd and may really be a bug in GNU Make, but for the time
being, it's safest to insert a 2-second delay.  Of course, MS Windows
has its own way of sleeping, so I had to correct for that.  See the
patch.

This patch should be cherry-picked straight into the release branch,
so then we can finally make a proper release tarball that works everywhere.

Cheers,
Peter
-- 
http://www.more-magic.net

Attachment: 0001-Add-a-2-second-sleep-to-make-the-build-version.c-dep.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]