[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 00:23:03 PDT 2022


awarzynski added a comment.

@tarunprabhu Could you confirm that with the build command above "pass-plugin.f90" is failing for you? It is for me.

In order to fix that, you will have to add this <https://github.com/llvm/llvm-project/blob/3f078b308bc67d3a05dc0de2588790ed9669febc/llvm/test/CMakeLists.txt#L192-L196> in Flang's test/CMakeLists.txt <https://github.com/llvm/llvm-project/blob/main/flang/test/CMakeLists.txt#L72-L77>. After the change, `libBye.so` will be added as a dependency to Flang tests, but only when `FLANG_BUILD_EXAMPLES` is set. I would also add a note in "pass-plugin.f90" that it depends on the "Bye" pass from LLVM.


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

https://reviews.llvm.org/D129156



More information about the flang-commits mailing list