[flang] Fix FIRSupport build race condition with HLFIRDialect
authorJean Perier <jperier@nvidia.com>
Fri, 21 Oct 2022 15:21:58 +0000 (08:21 -0700)
committerJean Perier <jperier@nvidia.com>
Fri, 21 Oct 2022 15:21:58 +0000 (08:21 -0700)
commit2c0d0566ee2d871c5614b829416bb628ef1892a8
tree3c7e6b146b36998ed6fe2f3119b200ba37acd4c3
parent211cf8a384ebb29787367c8fd5858e2a5ed3c10f
[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
flang/lib/Optimizer/Support/CMakeLists.txt