6 Commits

Author SHA1 Message Date
Krzysztof Parzyszek
00ab44ee66
[flang][OpenMP] Add version checks for clauses (#110015)
If there is a clause that is allowed on a given directive in a later
version of the OpenMP spec, report an error and provide the minimal spec
version that allows the clause.

The case where a clause is not allowed on a directive at all is already
handled elsewhere.
2024-09-26 08:56:41 -05:00
Kiran Chandramohan
502bea25bd
[Flang][OpenMP] Re-enable tests without runtime issues on Windows (#92824) 2024-05-21 10:20:59 +01:00
Kiran Chandramohan
a91d5c07f2
[Flang][OpenMP] Disable all OpenMP semantics tests on Windows (#92739)
Removes two XFAILed tests, the other tests are marked UNSUPPORTED only
on windows.
2024-05-20 19:47:50 +01:00
Michael Klemm
bfeebda3b1
[flang][OpenMP] Re-enable tests when building OpenMP as a runtime (#89046) 2024-05-18 08:25:43 +02:00
Michael Klemm
fb5fd2d82f
[flang][OpenMP] Compile proper omp_lib.mod from the openmp/src/include sources (#80874)
This PR changes the build system to use use the sources for the module
`omp_lib` and the `omp_lib.h` include file from the `openmp` runtime
project and not from a separate copy of these files. This will greatly
reduce potential for inconsistencies when adding features to the OpenMP
runtime implementation.

When the OpenMP subproject is not configured, this PR also disables the
corresponding LIT tests with a "REQUIRES" directive at the beginning of
the OpenMP test files.

---------

Co-authored-by: Valentin Clement (バレンタイン クレメン) <clementval@gmail.com>
2024-03-20 13:47:26 +01:00
Kiran Chandramohan
3323a4bd3d [Flang][OpenMP] NFC: Remove omp prefix of test files in OpenMP Semantics
For tests in the OpenMP sub-directory the `omp` prefix is removed.
2023-02-25 11:21:38 +00:00