Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Fix" to Compile on OS X as well as "Waiting on" messages from todo list #3

Closed
wants to merge 3 commits into from

Conversation

alexgartrell
Copy link

The OS X fix is definitely temporary, but it gets ninja compiling on OS X.

For the Waiting on, I just poll with a timeout of 1 second, if there are no results I print the notice to stderr and then poll with no timeout.

To test for the waiting on, I just added "&& sleep 3" to the build script, which was pretty lazy, I know the correct thing to do was add a test to the tests file, but I was unsure how to pull out of stderr without doing something with nasty hard-to-fix side effects (dup2, for example). I figured I'd check to see if this was in the
neighborhood before going down that road further.

@evmar
Copy link
Collaborator

evmar commented Apr 22, 2011

I ended up merging fixes for the incbin problem. As for the "waiting on" message, I think it would be better to move it into BuildStatus, because it needs to be aware of the terminal capabilities. I think perhaps DoWork could return information about what it's still waiting for, and that could be passed to BuildStatus.

Sorry for sitting on this merge request for so long; I had wanted to refactor this code, then did the refactor and forgot to notify you about it. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants