SparkBuild Community

Pushing the envelope of build performance

Eric Melski
Eric Melski
  • Male
  • Santa Clara, CA
  • United States
Share on Facebook Share Twitter

Eric Melski's Friends

  • Scott Castle
  • Electric Cloud Administrator

The Electric Cloud Blog

Loading… Loading feed

 

Eric Melski's Page

Latest Activity

Profile Icon
Eric Melski replied to David Ward's discussion 'Environment variables are not getting passed to sub-makes (continued).'
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…
Jan 26, 2010
Profile Icon
Eric Melski replied to David Ward's discussion 'Environment variables are not getting passed to sub-makes (continued).'
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…
Jan 22, 2010
Profile Icon
Eric Melski replied to David Ward's discussion 'Environment variables are not getting passed to sub-makes'
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.
Jan 22, 2010
Profile Icon
Eric Melski replied to David Ward's discussion 'Environment variables are not getting passed to sub-makes'
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…
Jan 22, 2010
Profile Icon
Eric Melski replied to David Ward's discussion 'Environment variables are not getting passed to sub-makes'
Can you show us the command-line you use to invoke SparkBuild emake?
Jan 21, 2010
Profile Icon
Eric Melski commented on Scott Castle's blog post 'Basics of annotation files'
@Alex: great! Thanks for helping me track down the problem.
Nov 12, 2009
Profile Icon
Eric Melski commented on Scott Castle's blog post 'Basics of annotation files'
OK, I tried a newer version of TclXML and it seems that the 3.x line does not support partial input (which is odd, since the 2.x line did). I think the easiest thing to try next is a new wrapped anno2log that includes the patches I've given you…
Nov 12, 2009
Profile Icon
Eric Melski commented on Scott Castle's blog post 'Basics of annotation files'
OK, both of those work fine for me. Perhaps it's a problem with the version of tcl or the TclXML package you are using? I'm using Tcl 8.4.6 with TclXML 2.6. In any case, the error you're getting really means that the XML parser…
Nov 12, 2009
Profile Icon
Eric Melski commented on Scott Castle's blog post 'Basics of annotation files'
I downloaded texinfo 4.13 and tried the same thing with no problems. What platform are you on? Can you upload the anno.xml that was generated by your build? Maybe there's some special character in there that's tripping up anno2log.
Nov 11, 2009
Profile Icon
Eric Melski commented on Scott Castle's blog post 'Basics of annotation files'
@Alex, I'm not sure why you think it's not working — works as expected when I try it, even with your slow cat (in fact, I had written almost the same thing myself to test the patch before I posted it). One thing to watch out for here…
Nov 11, 2009
Profile Icon
Eric Melski commented on Scott Castle's blog post 'Basics of annotation files'
Here's a patch that I think will help. I'm not sure this is the form that the final fix will take, but it should get you over the hump for now: anno2log_streaming.diff.
Nov 11, 2009
Profile Icon
Eric Melski commented on Scott Castle's blog post 'Basics of annotation files'
Hi Alex, No, there's nothing secret in anno2log. We noticed the buffering problem recently ourselves. I expect it will be fixed in the next release of SparkBuild, but until then, I've attached the source for you: anno2log Enjoy! Eric…
Nov 10, 2009
Profile Icon
Eric Melski replied to Mark Hill's discussion 'How to get annotation *and* build log?'
Hi Mark, The install bundle should have included anno2log, a utility for converting annotation into your familiar build log. For example, on Linux you could do something like this: % emake --emake-annodetail=basic ... > build.xml 2>&1 %…
Oct 30, 2009
Profile Icon
Eric Melski replied to Yuri Shtil's discussion 'SparkBuild error not present in regular build'
Yuri, that's an interesting discovery! Hopefully in a future release we'll be able to make SparkBuild emake write annotation to a file the same way that ElectricAccelerator emake does. Best Regards, Eric Melski Architect Electric Cloud,…
Oct 30, 2009
Profile Icon
Eric Melski replied to Yuri Shtil's discussion 'SparkBuild error not present in regular build'
Yuri, it looks like there are two types of problems with the annotation file. First, you are using the 'clear' command in the middle of your build for some reason. This emits control characters that are normally interpreted by the terminal…
Oct 29, 2009
Profile Icon
Blog posts by Eric Melski Oct 27, 2009

Eric Melski's Blog

Eric Melski

What is SparkBuild?

For an informal overview of the features in SparkBuild, check out my post "What is SparkBuild?" at the Electric Cloud Blog!

Posted on October 27, 2009 at 10:38am

Eric Melski

Subbuilds: build avoidance done right

I wrote up a more thorough explanation of subbuilds and how they work for the Electric Cloud Blog. Read it here!

Posted on October 26, 2009 at 11:29am

Comment Wall

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

Join SparkBuild Community

  • No comments yet!
 
 
 

Share

© 2012   Created by Electric Cloud Administrator.

Badges  |  Report an Issue  |  Terms of Service