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

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


Author: Valentin Clement (バレンタイン クレメン)
Date: 2024-09-19T12:56:26-07:00
New Revision: 434c9c50f99b1ad4e551c64af93287869389b087

URL: https://github.com/llvm/llvm-project/commit/434c9c50f99b1ad4e551c64af93287869389b087
DIFF: https://github.com/llvm/llvm-project/commit/434c9c50f99b1ad4e551c64af93287869389b087.diff

LOG: [flang][cuf][NFC] Clean up unused header and library (#109326)

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

Added: 
    

Modified: 
    flang/runtime/CUDA/CMakeLists.txt
    flang/runtime/CUDA/allocatable.cpp

Removed: 
    


################################################################################
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