[flang-commits] [flang] [flang][cuf][NFC] Clean up unused header and library (PR #109326)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Thu Sep 19 12:54:36 PDT 2024


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

These were part of a previous attempt and are not needed anymore. 

>From 3465b6c61e96d216342a630be19fe27b103a6f7c Mon Sep 17 00:00:00 2001
From: Valentin Clement <clementval at gmail.com>
Date: Thu, 19 Sep 2024 12:53:18 -0700
Subject: [PATCH] [flang][cuf][NFC] Clean up unused header and library

---
 flang/runtime/CUDA/CMakeLists.txt  | 3 ---
 flang/runtime/CUDA/allocatable.cpp | 1 -
 2 files changed, 4 deletions(-)

diff --git a/flang/runtime/CUDA/CMakeLists.txt b/flang/runtime/CUDA/CMakeLists.txt
index 803ff01b945dc4..193dd77e934558 100644
--- a/flang/runtime/CUDA/CMakeLists.txt
+++ b/flang/runtime/CUDA/CMakeLists.txt
@@ -18,9 +18,6 @@ add_flang_library(${CUFRT_LIBNAME}
   allocatable.cpp
   descriptor.cpp
   memory.cpp
-
-  LINK_COMPONENTS
-  Support
 )
 
 if (BUILD_SHARED_LIBS)
diff --git a/flang/runtime/CUDA/allocatable.cpp b/flang/runtime/CUDA/allocatable.cpp
index cc0c647c6c9529..649ddb638abe6d 100644
--- a/flang/runtime/CUDA/allocatable.cpp
+++ b/flang/runtime/CUDA/allocatable.cpp
@@ -12,7 +12,6 @@
 #include "flang/Runtime/CUDA/common.h"
 #include "flang/Runtime/CUDA/descriptor.h"
 #include "flang/Runtime/allocatable.h"
-#include "llvm/Support/ErrorHandling.h"
 
 #include "cuda_runtime.h"
 



More information about the flang-commits mailing list