Skip to content

Commit

Permalink
ARROW-12300: [C++] Remove linking of cuda runtime library
Browse files Browse the repository at this point in the history
This PR fixes: https://issues.apache.org/jira/browse/ARROW-12300

Closes #9951 from galipremsagar/patch-1

Authored-by: GALI PREM SAGAR <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
galipremsagar authored and kou committed Apr 9, 2021
1 parent 2fd4f80 commit 5b5c058
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cpp/src/arrow/gpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@ endif()
find_package(CUDA REQUIRED)
include_directories(SYSTEM ${CUDA_INCLUDE_DIRS})

message(STATUS "CUDA Libraries: ${CUDA_LIBRARIES}")

set(ARROW_CUDA_SRCS cuda_arrow_ipc.cc cuda_context.cc cuda_internal.cc cuda_memory.cc)

set(ARROW_CUDA_SHARED_LINK_LIBS ${CUDA_LIBRARIES} ${CUDA_CUDA_LIBRARY})
set(ARROW_CUDA_SHARED_LINK_LIBS ${CUDA_CUDA_LIBRARY})

add_arrow_lib(arrow_cuda
CMAKE_PACKAGE_NAME
Expand Down

0 comments on commit 5b5c058

Please sign in to comment.