This is an archive of the discontinued LLVM Phabricator instance.

[XRay][compiler-rt] Check target for XRay Flight Data Recorder
ClosedPublic

Authored by phosek on Dec 9 2016, 4:41 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

phosek updated this revision to Diff 80975.Dec 9 2016, 4:41 PM
phosek retitled this revision from to [XRay][compiler-rt] Check target for XRay Flight Data Recorder.
phosek updated this object.
phosek added a reviewer: dberris.
phosek set the repository for this revision to rL LLVM.
phosek added a subscriber: llvm-commits.
dberris edited edge metadata.Dec 11 2016, 4:42 PM

I'm not sure what you mean here -- can you provide a bit more context? Note that we gate the adding of the unittests on whether we should build XRay and whether the target can run the unit tests. We already add the testsuite in line 31 in this same file.

Can you say something about whether the target you're building for can run the tests?

phosek added a subscriber: beanz.Dec 11 2016, 5:23 PM

We're building compiler-rt runtimes using LLVM's new runtimes directory. The CMakeLists.txt for runtimes checks whether each component has a check-${component} and if not it throws an error, see: https://github.com/llvm-mirror/llvm/blob/master/runtimes/CMakeLists.txt#L118. Currently our build is broken because check-xray-fdr is missing, adding an empty target at least unbreaks the build. Alternatively, we could alter that check to e.g. to only give a warning. Adding @beanz who is the author of that check if he has some opinion.

dberris accepted this revision.Dec 11 2016, 5:33 PM
dberris edited edge metadata.

Ah, okay -- that's a good enough explanation for me. :) Thanks @phosek -- I was just wondering whether that build had a bot that sent out messages yet? Or will that happen at some point later when things have been "fixed"?

This revision is now accepted and ready to land.Dec 11 2016, 5:33 PM

Thanks! AFAIK there's not bot yet which would be doing the runtimes build. I'm hoping to set up a LLVM Buildbot builder for Fuchsia which is going to be using that setup, hopefully within a week or two.

This revision was automatically updated to reflect the committed changes.