This is an archive of the discontinued LLVM Phabricator instance.

[llgo] add USES_TERMINAL option to check-libgo
ClosedPublic

Authored by axw on May 5 2015, 3:33 AM.

Details

Summary

The check-libgo target runs "make check" in the
libgo package, which can take a long time on
slower machines. To prevent buildbot failures
due to timeout, we can use Ninja's console pool
for this target.

Diff Detail

Repository
rL LLVM

Event Timeline

axw updated this revision to Diff 24940.May 5 2015, 3:33 AM
axw retitled this revision from to [llgo] add USES_TERMINAL option to check-libgo.
axw updated this object.
axw edited the test plan for this revision. (Show Details)
axw added a reviewer: pcc.
axw added a subscriber: Unknown Object (MLST).
pcc edited edge metadata.May 5 2015, 11:12 AM

The last time I tried this I ran into some bug in ninja that caused the rule not to terminate, and I never got around to investigating it. I just tried again and saw the same problem. Does it work for you?

axw added a comment.May 5 2015, 4:16 PM
In D9495#166115, @pcc wrote:

The last time I tried this I ran into some bug in ninja that caused the rule not to terminate, and I never got around to investigating it. I just tried again and saw the same problem. Does it work for you?

No, sorry, I hadn't run it to completion. I just confirmed that it wasn't buffering. I'll take a look at Ninja later, thanks.

axw added a comment.Mar 14 2016, 11:17 PM

@pcc the newer gofrontend revision has the necessary fixes. check-libgo no longer hangs, and prints out results as they're available. OK to land now?

pcc accepted this revision.Mar 29 2016, 5:33 PM
pcc edited edge metadata.
This revision is now accepted and ready to land.Mar 29 2016, 5:33 PM
This revision was automatically updated to reflect the committed changes.