You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2022/02/17 08:16:46 UTC

[arrow] branch master updated: ARROW-15709: [C++] Compilation of ARROW_ENGINE fails if doing an "inline" build

This is an automated email from the ASF dual-hosted git repository.

westonpace pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new afaa92e  ARROW-15709: [C++] Compilation of ARROW_ENGINE fails if doing an "inline" build
afaa92e is described below

commit afaa92e7e4289d6e4f302cc91810368794e8092b
Author: Weston Pace <we...@gmail.com>
AuthorDate: Wed Feb 16 22:12:43 2022 -1000

    ARROW-15709: [C++] Compilation of ARROW_ENGINE fails if doing an "inline" build
    
    This change modifies the destination directory of the clone so it is unique.
    
    Closes #12444 from westonpace/bugfix/ARROW-15709--substrait-clobbers-inline-build
    
    Authored-by: Weston Pace <we...@gmail.com>
    Signed-off-by: Weston Pace <we...@gmail.com>
---
 cpp/src/arrow/engine/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/src/arrow/engine/CMakeLists.txt b/cpp/src/arrow/engine/CMakeLists.txt
index 0f00a66..a1099b8 100644
--- a/cpp/src/arrow/engine/CMakeLists.txt
+++ b/cpp/src/arrow/engine/CMakeLists.txt
@@ -34,7 +34,7 @@ set(ARROW_ENGINE_SRCS
     substrait/relation_internal.cc
     substrait/type_internal.cc)
 
-set(SUBSTRAIT_LOCAL_DIR "${CMAKE_CURRENT_BINARY_DIR}/substrait")
+set(SUBSTRAIT_LOCAL_DIR "${CMAKE_CURRENT_BINARY_DIR}/substrait_clone")
 set(SUBSTRAIT_GEN_DIR "${CMAKE_CURRENT_BINARY_DIR}/generated")
 set(SUBSTRAIT_PROTOS
     capabilities