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

Thomas Preud'homme llvmlistbot at llvm.org
Fri Mar 8 11:37:48 PST 2024


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

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


>From 15c7bf9460f9650e8300e0d9c20e1f470834a805 Mon Sep 17 00:00:00 2001
From: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: Fri, 8 Mar 2024 17:15:11 +0000
Subject: [PATCH] [MLIR] Add missing omp_gen dep to MLIROpenMPDialect

This fixes a failure when doing a clean build of
lib/libMLIROpenMPDialect.a only.
---
 mlir/lib/Dialect/OpenMP/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

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



More information about the Mlir-commits mailing list