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 2019/01/08 16:15:06 UTC

[arrow] branch master updated: ARROW-4191: [C++] Use same CC and AR for jemalloc as for the main sources

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

wesm 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 ccec638  ARROW-4191: [C++] Use same CC and AR for jemalloc as for the main sources
ccec638 is described below

commit ccec63847e7709317a18036931ef3e3fbeab1f05
Author: Korn, Uwe <Uw...@blue-yonder.com>
AuthorDate: Tue Jan 8 10:14:53 2019 -0600

    ARROW-4191: [C++] Use same CC and AR for jemalloc as for the main sources
    
    Author: Korn, Uwe <Uw...@blue-yonder.com>
    
    Closes #3347 from xhochy/ARROW-4191 and squashes the following commits:
    
    44df02a23 <Korn, Uwe> ARROW-4191:  Use same CC and AR for jemalloc as for the main sources
---
 cpp/cmake_modules/ThirdpartyToolchain.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake
index d8b3486..5a8c28f 100644
--- a/cpp/cmake_modules/ThirdpartyToolchain.cmake
+++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake
@@ -772,7 +772,7 @@ if (ARROW_JEMALLOC)
   ExternalProject_Add(jemalloc_ep
     URL ${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/jemalloc/${JEMALLOC_VERSION}.tar.gz
     PATCH_COMMAND touch doc/jemalloc.3 doc/jemalloc.html
-    CONFIGURE_COMMAND ./autogen.sh "--prefix=${JEMALLOC_PREFIX}" "--with-jemalloc-prefix=je_arrow_" "--with-private-namespace=je_arrow_private_" "--disable-tls"
+    CONFIGURE_COMMAND ./autogen.sh "AR=${CMAKE_AR}" "CC=${CMAKE_C_COMPILER}" "--prefix=${JEMALLOC_PREFIX}" "--with-jemalloc-prefix=je_arrow_" "--with-private-namespace=je_arrow_private_" "--disable-tls"
     ${EP_LOG_OPTIONS}
     BUILD_IN_SOURCE 1
     BUILD_COMMAND ${MAKE} ${MAKE_BUILD_ARGS}