[
https://issues.apache.org/jira/browse/ARROW-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16288195#comment-16288195
]
ASF GitHub Bot commented on ARROW-1914:
---------------------------------------
wesm closed pull request #1414: ARROW-1914: [C++] Fix build dependency for GPU
support build
URL: https://github.com/apache/arrow/pull/1414
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/cpp/src/arrow/gpu/CMakeLists.txt b/cpp/src/arrow/gpu/CMakeLists.txt
index 3ddf2c797..be474131e 100644
--- a/cpp/src/arrow/gpu/CMakeLists.txt
+++ b/cpp/src/arrow/gpu/CMakeLists.txt
@@ -32,9 +32,6 @@ set(ARROW_GPU_SRCS
cuda_memory.cc
)
-add_custom_target(arrow_gpu_sources DEPENDS ${ARROW_GPU_SRCS})
-add_dependencies(arrow_gpu_sources metadata_fbs)
-
set(ARROW_GPU_SHARED_LINK_LIBS
arrow_shared
${CUDA_LIBRARIES}
@@ -43,6 +40,7 @@ set(ARROW_GPU_SHARED_LINK_LIBS
ADD_ARROW_LIB(arrow_gpu
SOURCES ${ARROW_GPU_SRCS}
+ DEPENDENCIES metadata_fbs
SHARED_LINK_FLAGS ""
SHARED_LINK_LIBS ${ARROW_GPU_SHARED_LINK_LIBS}
STATIC_LINK_LIBS ""
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> [C++] make -j may fail to build with -DARROW_GPU=on
> ---------------------------------------------------
>
> Key: ARROW-1914
> URL: https://issues.apache.org/jira/browse/ARROW-1914
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Kouhei Sutou
> Assignee: Kouhei Sutou
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.8.0
>
>
> Here is a error log:
> {code}
> [100%] Built target gflags_nothreads_static
> Install the project...
> -- Install configuration: "RELEASE"
> -- Installing:
> /tmp/arrow-0.8.0.GLyu7/apache-arrow-0.8.0/cpp/build/gflags_ep-prefix/src/gflags_ep/lib/cmake/gflags/gflags-config.cmake
> -- Installing:
> /tmp/arrow-0.8.0.GLyu7/apache-arrow-0.8.0/cpp/build/gflags_ep-prefix/src/gflags_ep/lib/cmake/gflags/gflags-config-version.cmake
> -- Installing:
> /tmp/arrow-0.8.0.GLyu7/apache-arrow-0.8.0/cpp/build/gflags_ep-prefix/src/gflags_ep/lib/cmake/gflags/gflags-targets.cmake
> -- Installing:
> /tmp/arrow-0.8.0.GLyu7/apache-arrow-0.8.0/cpp/build/gflags_ep-prefix/src/gflags_ep/lib/cmake/gflags/gflags-targets-release.cmake
> -- Installing:
> /tmp/arrow-0.8.0.GLyu7/apache-arrow-0.8.0/cpp/build/gflags_ep-prefix/src/gflags_ep/bin/gflags_completions.sh
> -- Installing:
> /tmp/arrow-0.8.0.GLyu7/apache-arrow-0.8.0/cpp/build/gflags_ep-prefix/src/gflags_ep/lib/pkgconfig/gflags.pc
> -- Installing:
> /home/kou/.cmake/packages/gflags/fb801def37c922433975cbfefb3aa08d
> [ 26%] Completed 'gflags_ep'
> [ 55%] Building C object CMakeFiles/brotlienc.dir/enc/literal_cost.c.o
> [ 26%] Built target gflags_ep
> Scanning dependencies of target arrow_gpu_objlib
> [ 26%] Building CXX object
> src/arrow/gpu/CMakeFiles/arrow_gpu_objlib.dir/cuda_arrow_ipc.cc.o
> [ 59%] Building C object CMakeFiles/brotlienc.dir/enc/memory.c.o
> /tmp/arrow-0.8.0.GLyu7/apache-arrow-0.8.0/cpp/src/arrow/gpu/cuda_arrow_ipc.cc:26:10:
> fatal error: arrow/ipc/Message_generated.h: No such file or directory
> #include "arrow/ipc/Message_generated.h"
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> src/arrow/gpu/CMakeFiles/arrow_gpu_objlib.dir/build.make:62: recipe for
> target 'src/arrow/gpu/CMakeFiles/arrow_gpu_objlib.dir/cuda_arrow_ipc.cc.o'
> failed
> make[2]: ***
> [src/arrow/gpu/CMakeFiles/arrow_gpu_objlib.dir/cuda_arrow_ipc.cc.o] Error 1
> CMakeFiles/Makefile2:2108: recipe for target
> 'src/arrow/gpu/CMakeFiles/arrow_gpu_objlib.dir/all' failed
> make[1]: *** [src/arrow/gpu/CMakeFiles/arrow_gpu_objlib.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)