[Mlir-commits] [mlir] Fix link issue in mlir-linalg-ods-gen (PR #76843)

Michael Holman llvmlistbot at llvm.org
Wed Jan 3 11:02:06 PST 2024


https://github.com/MikeHolman created https://github.com/llvm/llvm-project/pull/76843

Resolves #76813

This was inadvertently causing double linking of Support.

Locally repro'd and confirmed that this fixes the build issue with failing configuration.

>From 2ac619c6d304022680e9b83bb42139259fce2cc1 Mon Sep 17 00:00:00 2001
From: Michael Holman <michhol at microsoft.com>
Date: Wed, 3 Jan 2024 18:56:30 +0000
Subject: [PATCH] Fix link issue in mlir-linalg-ods-gen

---
 mlir/tools/mlir-linalg-ods-gen/CMakeLists.txt | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/mlir/tools/mlir-linalg-ods-gen/CMakeLists.txt b/mlir/tools/mlir-linalg-ods-gen/CMakeLists.txt
index 2b2024da6409ac..f698469ebf05bd 100644
--- a/mlir/tools/mlir-linalg-ods-gen/CMakeLists.txt
+++ b/mlir/tools/mlir-linalg-ods-gen/CMakeLists.txt
@@ -1,8 +1,3 @@
-set(LLVM_LINK_COMPONENTS
-  Core
-  Support
-  )
-
 set(LIBS
   MLIRIR
   MLIRSupport



More information about the Mlir-commits mailing list