[Monetdb-developers] Build date in Mserver startup info

Arjan Scherpenisse A.C.Scherpenisse at cwi.nl
Mon May 3 09:53:18 CEST 2004


Fabian wrote:
> 
> 
> Stefan.Manegold at cwi.nl wrote:
> 
>>> Can't make be instructed to always compile or evaluate a file? Some
>>> python script could perhaps generate a little C file which has one
>>> method to return the (hard coded) date. This method might get called
>>> from instances who need it. In the worst case the end binary gets
>>> relinked I guess?
>>
>>
>>
>> In priciple, this might be an option, but it will only work if one calles
>> make in the top-level build directory. In case one calles make only in 
>> one
>> of the subdirectories (e.g., src/gdk, or src/modules/plain), which is 
>> very
>> convenient to speed-up the re-build process, your solution will not work,
>> and hence result in an "inconsisten" build date.
>>
> I can live with that... I never build from a subdir. I think it's quite 
> logical as well to require a full build for consistency on the build 
> number/date.
> 

I agree too, I mostly compile from the top dir as well. It just would be 
nice to have access to this "last toplevel-build-date"; I would use it 
to quickly check whether my automated nightly build has succeeded or not.




More information about the developers-list mailing list