SparkBuild Community

Pushing the envelope of build performance

David Ward
  • Monrovia, MD
  • United States
Share 
Share on Twitter
Share on Facebook

David Ward's Discussions

Environment variables are not getting passed to sub-makes (continued).
2 Replies

I did a full rebuild as well as another attempt at a subbuild. I got the same environment variable problems I had before on the subbuild. Full rebuild: W:\dward_JELProject\JEL>C:\SparkBuild\ --wi…

Started this discussion. Last reply by David Ward Jan 27.

Environment variables are not getting passed to sub-makes (continued).
4 Replies

EM: The Forum's reply doesn't seem to allow attaches, so I have continued in a new thread. XML output from emke is attached. Thanks. David

Started this discussion. Last reply by Duc Nguyen Jan 23.

Environment variables are not getting passed to sub-makes
5 Replies

I'm trying SparkBuild for the first time. All of our makefiles start with an include of common definitions in file $(__buildTop)/mk/top.mk.   This works for the first makefile, but when SparkBuild en…

Started this discussion. Last reply by Eric Melski Jan 22.

 

David Ward's Page

Latest Activity

EM: OK. Thanks for the update. We'll look forward to the fix in the next release. David
January 27
Thanks David, it looks like this is a bug in emake related to the subbuild feature. The issue is that environment variables are stored in the subbuild database with the name converted to uppercase, so when the environment is recreated in a subsequen…
January 26
David Ward added a discussion
I did a full rebuild as well as another attempt at a subbuild. I got the same environment variable problems I had before on the subbuild. Full rebuild: W:\dward_JELProject\JEL>C:\SparkBuild\i686_win32\bin\emake.exe --win32 --emake-gen-subbuild-db=1…
January 24
The dependencies tracked in the sparkbuild db depends on how you structured your makefiles. If you made *.cpp files depend on outputs generated by other submakes, then yes, every time you add a .cpp file to your build you have to regenerate the data…
January 23
EM: I did one more thing. Instead of doing a clean first, I just built everything with gen=1. I didn't build much because not much was changed, but it did go through all of the makefiles. This built the database, but gives me the original problem I…
January 22
EM: Did a clean and a full build. Now I can't get it to even try to build targets in other makefiles. After the full build, I deleted a library that is built in a different makefile to see if it would be rebuilt, but all I get is an error. W:\dwar…
January 22
I see that the submake that is missing the environment variable is actually created as a subbuild job, which means that the environment it uses is coming from the subbuild db. That means that your subbuild db may be invalid -- is it possible that it…
January 22
David Ward added a discussion
EM: The Forum's reply doesn't seem to allow attaches, so I have continued in a new thread. XML output from emke is attached. Thanks. David
January 22
Can you attach that XML to your post, rather than pasting it inline? The site seems to have swallowed most of the XML tags. Click the "Upload Files" link beneath the text editing field when you write your reply. Thanks.
January 22
EM: Line 31 of the makefile is: include $(__buildRoot)/mk/subdir.mk Note that this is not the makefile that is first executed. This is in a subbuild makefile in a different directory. And this all works for a build from the top-level down plus l…
January 22
David, Are you certain this only breaks with SparkBuild emake? I crafted a simple test case based on the information you provided here and it seems to be working correctly as expected, so I think there must be more going on in your environment than…
January 22
EM: Command line (and output): C:\SparkBuild\i686_win32\bin\emake.exe --win32 --emake-emulation=gmake --emake-autodepend=1 --case-sen sitive=0 --emake-root="W:\dward_JELProject" buildType=debug C:/SparkBuild/i686_win32/bin/emake libs make[2]: Ent…
January 21
Can you show us the command-line you use to invoke SparkBuild emake?
January 20
David Ward added a discussion
I'm trying SparkBuild for the first time. All of our makefiles start with an include of common definitions in file $(__buildTop)/mk/top.mk.   This works for the first makefile, but when SparkBuild enters a different directorie's makefile, I get an e…
January 20
David Ward is now a member of SparkBuild Community
January 20

Profile Information

Technical Role
Principal Software Engineer

Comment Wall

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

Join SparkBuild Community

  • No comments yet!
 
 

Share

 

© 2010   Created by Electric Cloud Administrator

Badges  |  Report an Issue  |  Privacy  |  Terms of Service