[Mlir-commits] [mlir] [MLIR] Add missing omp_gen dep to MLIROpenMPDialect (PR #84552)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Mar 8 11:38:17 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir-openmp

Author: Thomas Preud'homme (RoboTux)

<details>
<summary>Changes</summary>

This fixes a failure when doing a clean build of
lib/libMLIROpenMPDialect.a only.


---
Full diff: https://github.com/llvm/llvm-project/pull/84552.diff


1 Files Affected:

- (modified) mlir/lib/Dialect/OpenMP/CMakeLists.txt (+1) 


``````````diff
diff --git a/mlir/lib/Dialect/OpenMP/CMakeLists.txt b/mlir/lib/Dialect/OpenMP/CMakeLists.txt
index 40b4837484a136..57a6d3445c151c 100644
--- a/mlir/lib/Dialect/OpenMP/CMakeLists.txt
+++ b/mlir/lib/Dialect/OpenMP/CMakeLists.txt
@@ -5,6 +5,7 @@ add_mlir_dialect_library(MLIROpenMPDialect
   ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/OpenMP
 
   DEPENDS
+  omp_gen
   MLIROpenMPOpsIncGen
   MLIROpenMPOpsInterfacesIncGen
   MLIROpenMPTypeInterfacesIncGen

``````````

</details>


https://github.com/llvm/llvm-project/pull/84552


More information about the Mlir-commits mailing list