Running ninja -t missingdeps seems to confirm this:
Missing dep: tools/mlir/lib/Target/LLVMIR/CMakeFiles/obj.MLIRTargetLLVMIRExport.dir/LoopAnnotationTranslation.cpp.o uses /build/sifive/asan/include/llvm/Frontend/OpenMP/OMP.h.inc (generated by CUSTOM_COMMAND)
Missing dep: tools/mlir/lib/Target/LLVMIR/CMakeFiles/obj.MLIRTargetLLVMIRExport.dir/ModuleTranslation.cpp.o uses /build/sifive/asan/include/llvm/Frontend/OpenMP/OMP.h.inc (generated by CUSTOM_COMMAND)
Missing dep: tools/mlir/lib/Target/LLVMIR/CMakeFiles/obj.MLIRTargetLLVMIRExport.dir/Dialect/OpenMPCommon.cpp.o uses /build/sifive/asan/include/llvm/Frontend/OpenMP/OMP.h.inc (generated by CUSTOM_COMMAND)
I'm not sure if this is recently changed, or it has just been lingering for a while and we got unlucky recently. It seems like something needs to be depending on omp_gen, but I'm not sure if that belongs on the MLIRTargetLLVMIRExport target or somewhere down its transitive dependencies. I can send a patch to add the dependency somewhere, but if anyone who is more familiar with this has any ideas, I'm all ears.
I noticed a periodic CI job over in CIRCT failed: https://github.com/llvm/circt/actions/runs/8688703268/job/23824907413#step:6:3287
Running `ninja -t missingdeps` seems to confirm this:
```
Missing dep: tools/mlir/lib/Target/LLVMIR/CMakeFiles/obj.MLIRTargetLLVMIRExport.dir/LoopAnnotationTranslation.cpp.o uses /build/sifive/asan/include/llvm/Frontend/OpenMP/OMP.h.inc (generated by CUSTOM_COMMAND)
Missing dep: tools/mlir/lib/Target/LLVMIR/CMakeFiles/obj.MLIRTargetLLVMIRExport.dir/ModuleTranslation.cpp.o uses /build/sifive/asan/include/llvm/Frontend/OpenMP/OMP.h.inc (generated by CUSTOM_COMMAND)
Missing dep: tools/mlir/lib/Target/LLVMIR/CMakeFiles/obj.MLIRTargetLLVMIRExport.dir/Dialect/OpenMPCommon.cpp.o uses /build/sifive/asan/include/llvm/Frontend/OpenMP/OMP.h.inc (generated by CUSTOM_COMMAND)
```
I'm not sure if this is recently changed, or it has just been lingering for a while and we got unlucky recently. It seems like something needs to be depending on `omp_gen`, but I'm not sure if that belongs on the MLIRTargetLLVMIRExport target or somewhere down its transitive dependencies. I can send a patch to add the dependency somewhere, but if anyone who is more familiar with this has any ideas, I'm all ears.
I noticed a periodic CI job over in CIRCT failed: https://github.com/llvm/circt/actions/runs/8688703268/job/23824907413#step:6:3287
Running
ninja -t missingdeps
seems to confirm this:I'm not sure if this is recently changed, or it has just been lingering for a while and we got unlucky recently. It seems like something needs to be depending on
omp_gen
, but I'm not sure if that belongs on the MLIRTargetLLVMIRExport target or somewhere down its transitive dependencies. I can send a patch to add the dependency somewhere, but if anyone who is more familiar with this has any ideas, I'm all ears.