[all-commits] [llvm/llvm-project] 8bf0a4: [flang][driver] Forward `-fopenmp`/`-fopenacc` to ...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Thu Jul 29 03:23:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8bf0a406087e8747383134847ab0f165e6475a97
      https://github.com/llvm/llvm-project/commit/8bf0a406087e8747383134847ab0f165e6475a97
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M flang/tools/f18/flang.in

  Log Message:
  -----------
  [flang][driver] Forward `-fopenmp`/`-fopenacc` to the host compiler

This patch only modifies `flang` - the bash wrapper script.

`-fopenmp`/`-fopenacc` are required to enable the OpenMP/OpenACC
extension in the frontend and to make sure that the required libraries
are linked when generating the final binary. This patch makes sure that
`-fopnemp`/`-fopenacc` is used for both unparsing and the code
generation (via the host compiler).

Differential Revision: https://reviews.llvm.org/D106871




More information about the All-commits mailing list