SparkBuild Community

Pushing the envelope of build performance

Subramanian Olagappan
  • Bangalore, KA
  • India
Share
Share on Twitter
Share on Facebook

Subramanian Olagappan's Discussions

msbuild and vcbuild

I am posting the questions/Answers from my profile id to the forum. Reply from Scott Castle: 1) Will SparkBuild detect dependencies based on MSBuild and vcbuild operations? >> SparkBuild does…

Started Oct. 21, 2009

 

Subramanian Olagappan's Page

Latest Activity

Subramanian Olagappan added a discussion
I am posting the questions/Answers from my profile id to the forum. Reply from Scott Castle: 1) Will SparkBuild detect dependencies based on MSBuild and vcbuild operations? >> SparkBuild does not include the dependency detection features which are…
October 20, 2009
October 20, 2009
October 20, 2009
October 20, 2009
October 20, 2009
Subramanian Olagappan is now a member of SparkBuild Community
October 20, 2009

Comment Wall (4 comments)

You need to be a member of SparkBuild Community to add comments!

Join SparkBuild Community

At 1:41pm on October 20, 2009, Scott Castle said…
Hi Subramanian,

I think you have a few questions here:

1) Will SparkBuild detect dependencies based on MSBuild and vcbuild operations?
>> SparkBuild does not include the dependency detection features which are part of ElectricAccelerator, so SparkBuild just works off of the dependencies in your makefiles. It will treat calls to msbuild and vcbuild as single commands.

2) Can the subbuilds db be appended to?
>> Whenever --emake-gen-subbuild-db=1 is set, the database is overwritten with new information. The database cannot be incrementally updated.

3) You will need to run a full build to generate the database the first time - I assume there is some sort of 'all' target which is the equivalent of 'emake compile' and 'emake link' - and then you can run individual targets. Be sure you're not setting --emake-gen-subbuild-db=1 on the partial runs, otherwise you're deleting your database and regenerating it with info from just that partial pass.

Just as a note, you may find it more effective to post questions in the forum instead of on your profile - your questions will be much more visible there.
At 3:40am on October 20, 2009, Subramanian Olagappan said…
I ran
emake compile first and then emake link. It looks like the .db file is over written during "emake link" command. What is the option to append .db file.
At 1:40am on October 20, 2009, Subramanian Olagappan said…
My build is running fine. I notice the size of the .db is not increasing after 3546664 where as the timestamp of the file is updated. Is this OK. How to verify the .db file.

-rwxrwxrwa 1 CORP\solagappan CORP\Domain+Users 3546664 Oct 20 14:07 emake.db
-rwxrwxrwa 1 CORP\solagappan CORP\Domain+Users 6036 Oct 20 13:31 emake.db.bak
At 1:37am on October 20, 2009, Subramanian Olagappan said…
We have some dir's using msbuild and vcbuild to compile the objs. msbuild and vcbuild are called in the Makefile. In this case will sparbuild generate the dependency and add to the .db file.

Subramanian Olagappan
Intuit

Profile Information

Technical Role
SCM Engineer
 
 
 

Share

© 2010   Created by Electric Cloud Administrator.

Badges  |  Report an Issue  |  Terms of Service