[flang-commits] [flang] [NFC][flang][OpenMP] Create `FortranUtils` lib and move `createMapInfoOp` to it (PR #154483)

Abid Qadeer via flang-commits flang-commits at lists.llvm.org
Tue Aug 26 12:14:08 PDT 2025


abidh wrote:

> > > > The `Support` library in llvm is probably a good example to follow in what should we add here or not.
> > > 
> > > 
> > > Can you please elaborate on this? Is there anything that we can imitate here?
> > 
> > 
> > @abidh static libs + debug work (builds and lit tests). dynamic libs + debug fails to link even without the changes in this PR (on `main`):
> > ```
> > /home/kaergawy/git/aomp21.0/llvm-project/flang/include/flang/Common/indirection.h:88: undefined reference to `Fortran::common::die(char const*, ...)'
> > /usr/bin/ld: tools/flang/lib/Optimizer/Builder/CMakeFiles/FIRBuilder.dir/IntrinsicCall.cpp.o: ....
> > ```
> 
> I will investigate this failure.

It seems that it got fixed in https://github.com/llvm/llvm-project/pull/155422.

https://github.com/llvm/llvm-project/pull/154483


More information about the flang-commits mailing list