[all-commits] [llvm/llvm-project] 021557: [Flang][Offload][Tests] Set default OpenMP version...

agozillon via All-commits all-commits at lists.llvm.org
Thu Sep 26 09:56:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0215579daba628460ba1b8bf8caf8eea6eb0df15
      https://github.com/llvm/llvm-project/commit/0215579daba628460ba1b8bf8caf8eea6eb0df15
  Author: agozillon <Andrew.Gozillon at amd.com>
  Date:   2024-09-26 (Thu, 26 Sep 2024)

  Changed paths:
    M offload/test/lit.cfg

  Log Message:
  -----------
  [Flang][Offload][Tests] Set default OpenMP version to 5.2 (52) (#110138)

We recently added versioning support to Flang's OpenMP, which restricts
and enables certain things based on the OpenMP specification version.
Currently one of the check-offload tests makes use of a feature that's
at a slightly higher version than the current default causing it to
fail.

This PR basically applies the highest current OpenMP version number as a
default argument for the lit.cfg, if we need more fine grained control
in the future we can expand it to different lit commands for each
relevant version than can then be added in each test. But for now, to
keep it simple, just set the max level version.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list