Skip to content

Commit

Permalink
[flang][OpenMP] Compile proper omp_lib.mod from the `openmp/src/inc…
Browse files Browse the repository at this point in the history
…lude` 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>
  • Loading branch information
mjklemm and clementval committed Mar 20, 2024
1 parent 254bfe9 commit fb5fd2d
Show file tree
Hide file tree
Showing 73 changed files with 589 additions and 662 deletions.
13 changes: 0 additions & 13 deletions flang/module/omp_lib.f90

This file was deleted.

0 comments on commit fb5fd2d

Please sign in to comment.