From 51ef1b141cf211324a87d907d61c01cfc8cf37d0 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Sat, 27 Aug 2022 01:00:02 +0000 Subject: [PATCH] Add some missing dependencies. Caught in the wild here: https://github.com/llvm/torch-mlir/runs/8046660640?check_suite_focus=true It is common for a missing dependency to only surface as an issue on the CI machines since they have fewer cores which prevents a "race" that happens to cause the dependency to be built before the dependent. --- lib/Conversion/Utils/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Conversion/Utils/CMakeLists.txt b/lib/Conversion/Utils/CMakeLists.txt index f4baf8634..6b352bdc5 100644 --- a/lib/Conversion/Utils/CMakeLists.txt +++ b/lib/Conversion/Utils/CMakeLists.txt @@ -3,4 +3,9 @@ add_mlir_conversion_library(TorchMLIRConversionUtils ADDITIONAL_HEADER_DIRS ${PROJECT_SOURCE_DIR}/include/torch-mlir/Conversion/Utils + + LINK_LIBS PUBLIC + MLIRArithmeticDialect + MLIRLinalgDialect + TorchMLIRTorchDialect )