This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Disable tests that are not supported by GCC if it is used for testing
ClosedPublic

Authored by tianshilei1992 on Jan 19 2023, 8:27 PM.

Details

Summary

GCC doesn't support -fopenmp-version, causing test failure if the compiler used
for testing is GCC.

GCC's OpenMP 5.2 support is very limited yet. Disable those tests requiring 5.2
feature for GCC as well.

We might want to take a look at all libomp tests and mark those tests that
don't support GCC yet.

Diff Detail

Event Timeline

tianshilei1992 created this revision.Jan 19 2023, 8:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 19 2023, 8:27 PM
tianshilei1992 requested review of this revision.Jan 19 2023, 8:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 19 2023, 8:27 PM
tianshilei1992 edited the summary of this revision. (Show Details)Jan 19 2023, 8:27 PM
tianshilei1992 retitled this revision from [OpenMP] Disable omp-atomic-compare-signedness.c if the compiler for testing is GCC to [OpenMP] Disable tests that are not supported by GCC if it is used for testing.Jan 19 2023, 8:31 PM
tianshilei1992 edited the summary of this revision. (Show Details)
ABataev accepted this revision.Jan 24 2023, 1:53 PM
ABataev added a subscriber: ABataev.

LG

This revision is now accepted and ready to land.Jan 24 2023, 1:53 PM