This is an archive of the discontinued LLVM Phabricator instance.

Detect and disable openmp tests that require multiple hardware processor to run when only one core is available.
ClosedPublic

Authored by serge-sans-paille on Feb 20 2020, 11:41 AM.

Details

Summary

Team tests seem to require at least two physical cores, and using the same trick as in https://reviews.llvm.org/D55598 doesn't work (why?) .
Using lit configuration instead.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald Transcript

I am fairly certain we need this lit.cfg addition soon anyway, so I'm OK with this, @AndreyChurbanov any objections?

AndreyChurbanov accepted this revision.Feb 21 2020, 3:46 AM

LGTM

We may need to also loose the internal tough limit of number of threads in the teams construct, which is currently not convenient to overcome. But this needs time to work on..

This revision is now accepted and ready to land.Feb 21 2020, 3:46 AM
This revision was automatically updated to reflect the committed changes.