[flang-commits] [flang] [flang][cuda] Fix libTransforms linking (PR #101773)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Fri Aug 2 16:30:40 PDT 2024


https://github.com/clementval created https://github.com/llvm/llvm-project/pull/101773

Fix buildbot failure #101563 

>From 0b96e4d74db2959c592051146e216576bc6c1286 Mon Sep 17 00:00:00 2001
From: Valentin Clement <clementval at gmail.com>
Date: Fri, 2 Aug 2024 16:29:58 -0700
Subject: [PATCH] [flang][cuda] Fix libTransforms linking

---
 flang/lib/Optimizer/Transforms/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/flang/lib/Optimizer/Transforms/CMakeLists.txt b/flang/lib/Optimizer/Transforms/CMakeLists.txt
index 5306b84e0e77a..b3b08e06fb258 100644
--- a/flang/lib/Optimizer/Transforms/CMakeLists.txt
+++ b/flang/lib/Optimizer/Transforms/CMakeLists.txt
@@ -30,11 +30,13 @@ add_flang_library(FIRTransforms
   DebugTypeGenerator.cpp
 
   DEPENDS
+  CUFDialect
   FIRDialect
   FIROptTransformsPassIncGen
   HLFIROpsIncGen
 
   LINK_LIBS
+  CUFDialect
   FIRAnalysis
   FIRBuilder
   FIRCodeGen



More information about the flang-commits mailing list