From: Mehdi Amini Date: Thu, 24 Oct 2019 17:37:18 +0000 (-0700) Subject: Add missing dependency on MLIRIR on MLIREDSCInterface X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f56d8187fa4bd087c23188036cdc09c5b5c749a8;p=platform%2Fupstream%2Fllvm.git Add missing dependency on MLIRIR on MLIREDSCInterface MLIRIR includes generated header for interfaces, including these headers require an extra dependency to ensure these headers are generated before we attempt to build MLIREDSCInterface. PiperOrigin-RevId: 276518255 --- diff --git a/mlir/lib/EDSC/CMakeLists.txt b/mlir/lib/EDSC/CMakeLists.txt index 967d6ad..eff3a42 100644 --- a/mlir/lib/EDSC/CMakeLists.txt +++ b/mlir/lib/EDSC/CMakeLists.txt @@ -29,6 +29,7 @@ add_llvm_library(MLIREDSCInterface ADDITIONAL_HEADER_DIRS ${MLIR_MAIN_INCLUDE_DIR}/mlir/EDSC ) +add_dependencies(MLIREDSCInterface MLIRIR) add_dependencies(MLIREDSC MLIRReferenceImplementationTestGen) target_link_libraries(MLIREDSC PUBLIC