Pages

Tuesday, April 10, 2012

Clearcase build process!!!




Build auditing: Verifies that all the required files are compiled.
Ex: Make is DTM (date time mark) dependent. When a file is checked out, the file and its related files are not compiled with make but with clearmake the file is compiled as the version is changed along with the related files.


Clearmake –f Makefile ; Makefile defines the rules for the build and also overrides the macros. –u –k –i or individual options (detailed description of these options can be obtained with man).  -O –T are individual options. (detailed descriptions can be obtained with “cl man clearmake” command.



Default J value in our system is 6 as it is found to be efficient.
$home/.bldhost..(.local)





Makefile, Makefile.options, pass files are available in /fw/products//mf/product/ directory.
First pass verifies the bldhost file passes the parameters to the next process.
Second pass defines and creates the fw.mk file.
 The main build process is done in pass 3.


We had a discussion about the significance of using ONLY with pass 3. When ONLY is specified the obj and library files are created only for that particular component. But the executable (dll’s ) are verified for all the components and build if required. That is why we say this kind of build might some time fail.
If there is a change in idl file better to have complete pass 3 option. If it is change in pub then we can skip idl build but has to provide the other options (pub, pubdir, inc….).

























No comments:

Post a Comment