[flang-commits] [PATCH] D129156: Add -fpass-plugin option to Flang

Andrzej Warzynski via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Oct 12 08:44:43 PDT 2022


awarzynski added a comment.

In D129156#3852553 <https://reviews.llvm.org/D129156#3852553>, @tarunprabhu wrote:

> In D129156#3851843 <https://reviews.llvm.org/D129156#3851843>, @awarzynski wrote:
>
>> @tarunprabhu Could you confirm that with the build command above "pass-plugin.f90" is failing for you? It is for me.
>
> @awarzynski What compiler do you use to build this? gcc doesn't seem to like `-gmlt`, clang-12 complains about `-fuse-ld=lld` (could be the clang installation on the machine on which I am building), and clang-13 causes a compile error.
>
> [EDIT: Tag @awarzynski]

I doubt those particular flags matter here. You can trim that CMake command as follows:

  cmake ../llvm -D LLVM_ENABLE_PROJECTS="mlir;flang;clang;llvm" -G Ninja -D CMAKE_BUILD_TYPE=Release -D LLVM_ENABLE_ASSERTIONS=ON -D LLVM_BUILD_EXAMPLES=ON 
  ninja check-flang


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129156/new/

https://reviews.llvm.org/D129156



More information about the flang-commits mailing list