[flang-commits] [flang] 2c0d056 - [flang] Fix FIRSupport build race condition with HLFIRDialect

Jean Perier via flang-commits flang-commits at lists.llvm.org
Fri Oct 21 08:27:15 PDT 2022


Author: Jean Perier
Date: 2022-10-21T08:21:58-07:00
New Revision: 2c0d0566ee2d871c5614b829416bb628ef1892a8

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

LOG: [flang] Fix FIRSupport build race condition with HLFIRDialect

FIRSupports includes headers from HLFIRDialect that are generated at
compile time. Therefore it must wait until these headers have been
generated.

Fix flang bot failures:
https://lab.llvm.org/buildbot/#/builders/173/builds/10304

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/flang/lib/Optimizer/Support/CMakeLists.txt b/flang/lib/Optimizer/Support/CMakeLists.txt
index 779e20711513e..4490c40bc998c 100644
--- a/flang/lib/Optimizer/Support/CMakeLists.txt
+++ b/flang/lib/Optimizer/Support/CMakeLists.txt
@@ -8,6 +8,7 @@ add_flang_library(FIRSupport
 
   DEPENDS
   FIROpsIncGen
+  HLFIROpsIncGen
   MLIRIR
   ${dialect_libs}
 


        


More information about the flang-commits mailing list