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/06/07 12:25:21 UTC

[arrow] branch master updated: ARROW-2675: Fix build error with clang-10 (Apple Clang / LLVM)

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 b165e46  ARROW-2675: Fix build error with clang-10 (Apple Clang / LLVM)
b165e46 is described below

commit b165e46183300ca9bc531f8177b9819b67fa9ce9
Author: songqing <zh...@163.com>
AuthorDate: Thu Jun 7 14:25:10 2018 +0200

    ARROW-2675: Fix build error with clang-10 (Apple Clang / LLVM)
    
    As mac os X has been updated to the version 10.13.5, XCode has been updated to XCode 9.4 and Command Line Tools have been updated to the version 10.0, the clang version has also been updated to clang-10 (Apple Clang / LLVM) correspondingly. However, Arrow can only be built under clang-9, as shown in the file
    https://github.com/apache/arrow/blob/b1d1633c90d20d3cbcbcee9a29c3f057164bb53c/cpp/cmake_modules/CompilerInfo.cmake#L77
    
    So, it's time to update Arrow to support clang-10.
    
    Author: songqing <zh...@163.com>
    
    Closes #2106 from songqing/support_clang-10 and squashes the following commits:
    
    980b41a0 <songqing> support clang-10
---
 cpp/cmake_modules/CompilerInfo.cmake | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/cpp/cmake_modules/CompilerInfo.cmake b/cpp/cmake_modules/CompilerInfo.cmake
index 5ff1d86..e5a9550 100644
--- a/cpp/cmake_modules/CompilerInfo.cmake
+++ b/cpp/cmake_modules/CompilerInfo.cmake
@@ -78,6 +78,11 @@ elseif("${COMPILER_VERSION_FULL}" MATCHES ".*clang-9")
   set(COMPILER_FAMILY "clang")
   set(COMPILER_VERSION "4.0.0svn")
 
+# clang on Mac OS X, XCode 9.
+elseif("${COMPILER_VERSION_FULL}" MATCHES ".*clang-10")
+  set(COMPILER_FAMILY "clang")
+  set(COMPILER_VERSION "4.1.0svn")
+
 # gcc
 elseif("${COMPILER_VERSION_FULL_LOWER}" MATCHES ".*gcc[ -]version.*")
   set(COMPILER_FAMILY "gcc")

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