[Openmp-commits] [openmp] 21b1d55 - [Libomptarget] Add correct relative path for the nexgen plugin

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Wed Jan 25 12:06:13 PST 2023


Author: Joseph Huber
Date: 2023-01-25T14:05:53-06:00
New Revision: 21b1d55c04b2d52b6b8af9b4b5dbdad39fa1d765

URL: https://github.com/llvm/llvm-project/commit/21b1d55c04b2d52b6b8af9b4b5dbdad39fa1d765
DIFF: https://github.com/llvm/llvm-project/commit/21b1d55c04b2d52b6b8af9b4b5dbdad39fa1d765.diff

LOG: [Libomptarget] Add correct relative path for the nexgen plugin

Summary:
I forgot that this file "borrowed" the source from the other file tree.
Fix that.

Added: 
    

Modified: 
    openmp/libomptarget/plugins-nextgen/cuda/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/plugins-nextgen/cuda/CMakeLists.txt b/openmp/libomptarget/plugins-nextgen/cuda/CMakeLists.txt
index 5706590a174a..d51403d3e0bc 100644
--- a/openmp/libomptarget/plugins-nextgen/cuda/CMakeLists.txt
+++ b/openmp/libomptarget/plugins-nextgen/cuda/CMakeLists.txt
@@ -48,8 +48,8 @@ if(LIBOMPTARGET_DEP_CUDA_FOUND AND NOT LIBOMPTARGET_FORCE_DLOPEN_LIBCUDA)
   target_link_libraries(omptarget.rtl.cuda.nextgen PRIVATE CUDA::cuda_driver)
 else()
   libomptarget_say("Building CUDA plugin for dlopened libcuda")
-  target_include_directories(omptarget.rtl.cuda.nextgen PRIVATE dynamic_cuda)
-  target_sources(omptarget.rtl.cuda.nextgen PRIVATE dynamic_cuda/cuda.cpp)
+  target_include_directories(omptarget.rtl.cuda.nextgen PRIVATE ../../plugins/cuda/dynamic_cuda)
+  target_sources(omptarget.rtl.cuda.nextgen PRIVATE ../../plugins/cuda/dynamic_cuda/cuda.cpp)
 endif()
 add_dependencies(omptarget.rtl.cuda.nextgen omptarget.devicertl.nvptx)
 


        


More information about the Openmp-commits mailing list