[Cook] Three items to be discussed
Gottfried Hegmanns
HEGMANNS at de.ibm.com
Sat Nov 30 01:47:01 EST 2002
I'm currently evaluating cook to find something better than make to build
our product (about 4000 compiles/links). cook seems to be a very good
candidate because it's fast and is what I need to do a multi platform
build. But I'm still facing three items I have to solve first:
1) The way to search for includes ( see our discussion 'How does c_incl
search for included files?'),
2) The !#/bin/bash line in the file handed over to the remote machine for
execution (see my update 'remote execution linux-AIX') also under the
aspect that a remote execution should even be possible on a windows or an
OS/2 machine,
3) The 'backward travel in time problem' where I build in a sandbox against
a repository with a changed source file in my sandbox, then remove the
changed source file (the source file in the repository becomes visible
again) and build again. My target will not be built because the source file
is older than my target.
to 1) I could solve it myself writing an own dependency scanner if there is
no other way to go.
to 2) could you make this line somehow configurable so I can put my own
text in there (or even leave it out)? Considering a build tree having
targets to be built on various platforms, it would be necessary to specify
such a line by build event according to the remote operating system.
to 3) I suggest an option to omit the time stamp dependency checking and to
use the fingerprint method only. I know that this would be a performance
degradation but build consistency for us has priority over performance. Or
to store the modification time of the source files used for a first build
as kind of signature and to check the time stamp of the current files
against the stored one.
Hope we find a way.
Regards
Gottfried Hegmanns
IBM Entwicklung GmbH
internet: hegmanns at de.ibm.com
More information about the Cook-users
mailing list