[flang-commits] [flang] 2075bfe - [flang][NFC] Fix BUILD_SHARED_LIBS build of FortranUtils (#217312)

via flang-commits flang-commits at lists.llvm.org
Wed Aug 19 06:19:09 PDT 2026


Author: Eugene Epshteyn
Date: 2026-08-19T09:19:05-04:00
New Revision: 2075bfe4e0fb4bc222ff9aea403c921591816ea3

URL: https://github.com/llvm/llvm-project/commit/2075bfe4e0fb4bc222ff9aea403c921591816ea3
DIFF: https://github.com/llvm/llvm-project/commit/2075bfe4e0fb4bc222ff9aea403c921591816ea3.diff

LOG: [flang][NFC] Fix BUILD_SHARED_LIBS build of FortranUtils (#217312)

[5ee2778b6072](https://github.com/llvm/llvm-project/commit/5ee2778b60725219579eb6d439e6b250c2ff1f85)
("[flang][OpenMP] Reuse canonical default mapper names for nested
mappings", [#212251](https://github.com/llvm/llvm-project/pull/212251))
added calls to `fir::NameUniquer::deconstruct()` and
`fir::NameUniquer::doGenerated()` in `flang/lib/Utils/OpenMP.cpp`, but
did not add the library defining them, `FIRSupport`, to `FortranUtils`'
`LINK_LIBS`.

Assisted-by: AI

Added: 
    

Modified: 
    flang/lib/Utils/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/flang/lib/Utils/CMakeLists.txt b/flang/lib/Utils/CMakeLists.txt
index 96c037561a8a5..e73c398834da5 100644
--- a/flang/lib/Utils/CMakeLists.txt
+++ b/flang/lib/Utils/CMakeLists.txt
@@ -17,6 +17,7 @@ add_flang_library(FortranUtils
   LINK_LIBS
   FIRDialect
   FIRBuilder
+  FIRSupport
   FortranEvaluate
   FortranSupport
   HLFIRDialect


        


More information about the flang-commits mailing list