[all-commits] [llvm/llvm-project] 35c76e: [flang][OpenMP] Always set "openmp_flags" (#138153)

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Thu May 1 10:10:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35c76eb195990865ee63a0aba3c18ad3c4189e73
      https://github.com/llvm/llvm-project/commit/35c76eb195990865ee63a0aba3c18ad3c4189e73
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-05-01 (Thu, 01 May 2025)

  Changed paths:
    M flang/test/lit.cfg.py

  Log Message:
  -----------
  [flang][OpenMP] Always set "openmp_flags" (#138153)

Many OpenMP tests use "%openmp_flags" in the RUN line. In many OpenMP
lit tests this variable is expected to at least have "-fopenmp" in it.
However, in the lit config this variable was only given a value when the
OpenMP runtime build was enabled.

If the runtime build was not enabled, %openmp_flags would expand to an
empty string, and unless a lit test specifically used -fopenmp in the
RUN line, OpenMP would be disabled.

This patch sets %openmp_flags to start with "-fopenmp" regardless of the
build configuration.



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