You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by uw...@apache.org on 2018/03/16 14:34:10 UTC

[arrow] branch master updated: ARROW-2320: [C++] Vendored Boost build does not build regex library

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

uwe 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 e29df7d  ARROW-2320: [C++] Vendored Boost build does not build regex library
e29df7d is described below

commit e29df7d3a2c68eb52b132818f8082bf543980be1
Author: Phillip Cloud <cp...@gmail.com>
AuthorDate: Fri Mar 16 15:34:00 2018 +0100

    ARROW-2320: [C++] Vendored Boost build does not build regex library
    
    I can confirm that arrow failed to build with `-DARROW_BOOST_VENDORED=ON` and
    builds successfully with this patch.
    
    Author: Phillip Cloud <cp...@gmail.com>
    
    Closes #1760 from cpcloud/ARROW-2320 and squashes the following commits:
    
    3deb24e <Phillip Cloud> ARROW-2320:  Vendored Boost build does not build regex library
---
 cpp/cmake_modules/ThirdpartyToolchain.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake
index c330e2a..be9d55c 100644
--- a/cpp/cmake_modules/ThirdpartyToolchain.cmake
+++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake
@@ -158,7 +158,7 @@ if (ARROW_BOOST_VENDORED)
   set(BOOST_STATIC_FILESYSTEM_LIBRARY
     "${BOOST_LIB_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}boost_filesystem${CMAKE_STATIC_LIBRARY_SUFFIX}")
   set(BOOST_STATIC_REGEX_LIBRARY
-          "${BOOST_LIB_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}boost_regex${CMAKE_STATIC_LIBRARY_SUFFIX}")
+    "${BOOST_LIB_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}boost_regex${CMAKE_STATIC_LIBRARY_SUFFIX}")
   set(BOOST_SYSTEM_LIBRARY "${BOOST_STATIC_SYSTEM_LIBRARY}")
   set(BOOST_FILESYSTEM_LIBRARY "${BOOST_STATIC_FILESYSTEM_LIBRARY}")
   set(BOOST_REGEX_LIBRARY "${BOOST_STATIC_REGEX_LIBRARY}")
@@ -174,7 +174,7 @@ if (ARROW_BOOST_VENDORED)
     set(BOOST_CONFIGURE_COMMAND
       "./bootstrap.sh"
       "--prefix=${BOOST_PREFIX}"
-      "--with-libraries=filesystem,system")
+      "--with-libraries=filesystem,system,regex")
     if ("${CMAKE_BUILD_TYPE}" STREQUAL "DEBUG")
       set(BOOST_BUILD_VARIANT "debug")
     else()

-- 
To stop receiving notification emails like this one, please contact
uwe@apache.org.