[flang-commits] [flang] 2f18381 - [flang] Fix shared libs build for alloca change. (#95597)

via flang-commits flang-commits at lists.llvm.org
Fri Jun 14 13:46:33 PDT 2024


Author: Vijay Kandiah
Date: 2024-06-14T15:46:28-05:00
New Revision: 2f18381b905ab3a7872ac518bf19f6f3afb333df

URL: https://github.com/llvm/llvm-project/commit/2f18381b905ab3a7872ac518bf19f6f3afb333df
DIFF: https://github.com/llvm/llvm-project/commit/2f18381b905ab3a7872ac518bf19f6f3afb333df.diff

LOG: [flang] Fix shared libs build for alloca change. (#95597)

My recent change broke shared library builds. This update to flang CodeGen CMakeLists.txt fixes shared builds.

Added: 
    

Modified: 
    flang/lib/Optimizer/CodeGen/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/flang/lib/Optimizer/CodeGen/CMakeLists.txt b/flang/lib/Optimizer/CodeGen/CMakeLists.txt
index 879bc28d017a3..650448eee1099 100644
--- a/flang/lib/Optimizer/CodeGen/CMakeLists.txt
+++ b/flang/lib/Optimizer/CodeGen/CMakeLists.txt
@@ -27,6 +27,7 @@ add_flang_library(FIRCodeGen
   MLIRMathToLLVM
   MLIRMathToLibm
   MLIROpenMPToLLVM
+  MLIROpenACCDialect
   MLIRBuiltinToLLVMIRTranslation
   MLIRLLVMToLLVMIRTranslation
   MLIRTargetLLVMIRExport


        


More information about the flang-commits mailing list