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

via flang-commits flang-commits at lists.llvm.org
Thu Sep 19 12:55:11 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-flang-runtime

Author: Valentin Clement (バレンタイン クレメン) (clementval)

<details>
<summary>Changes</summary>

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

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


2 Files Affected:

- (modified) flang/runtime/CUDA/CMakeLists.txt (-3) 
- (modified) flang/runtime/CUDA/allocatable.cpp (-1) 


``````````diff
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"
 

``````````

</details>


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


More information about the flang-commits mailing list