kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danburk...@apache.org
Subject kudu git commit: Add support for clang from XCode 9 in macOS
Date Thu, 04 Jan 2018 21:01:15 GMT
Repository: kudu
Updated Branches:
  refs/heads/branch-1.5.x 31807acf8 -> c1d7b7867


Add support for clang from XCode 9 in macOS

Change-Id: Ib636deee77471e60c02e90028a0e5cc0f303b45a
Reviewed-on: http://gerrit.cloudera.org:8080/8119
Reviewed-by: Alexey Serbin <aserbin@cloudera.com>
Tested-by: Kudu Jenkins
Reviewed-by: David Ribeiro Alves <davidralves@gmail.com>
Reviewed-on: http://gerrit.cloudera.org:8080/8940


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/c1d7b786
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/c1d7b786
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/c1d7b786

Branch: refs/heads/branch-1.5.x
Commit: c1d7b786711b9b8eb1731bdff12b2d0bf97abb04
Parents: 31807ac
Author: Dan Burkert <danburkert@apache.org>
Authored: Thu Sep 21 12:24:31 2017 -0700
Committer: Dan Burkert <danburkert@apache.org>
Committed: Thu Jan 4 21:00:47 2018 +0000

----------------------------------------------------------------------
 cmake_modules/CompilerInfo.cmake | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/c1d7b786/cmake_modules/CompilerInfo.cmake
----------------------------------------------------------------------
diff --git a/cmake_modules/CompilerInfo.cmake b/cmake_modules/CompilerInfo.cmake
index 7e1812c..ff5f789 100644
--- a/cmake_modules/CompilerInfo.cmake
+++ b/cmake_modules/CompilerInfo.cmake
@@ -42,6 +42,19 @@ elseif("${COMPILER_VERSION_FULL}" MATCHES ".*clang-8")
   set(COMPILER_FAMILY "clang")
   set(COMPILER_VERSION "3.8.0svn")
 
+# clang on Mac OS X, XCode 9.
+#
+# TODO(dan): 4.0.0svn is just a guess, because Apple has not (as of the time of
+# writing) released the sources [1]. [2] and [3] are good resources for
+# determining the upstream Clang version as well.
+#
+# [1]: https://opensource.apple.com/
+# [2]: https://gist.github.com/yamaya/2924292
+# [3]: https://gist.github.com/epipping/ef8b02b0cfaec4a5ebf3a57092145a3f
+elseif("${COMPILER_VERSION_FULL}" MATCHES ".*clang-9")
+  set(COMPILER_FAMILY "clang")
+  set(COMPILER_VERSION "4.0.0svn")
+
 # gcc
 elseif("${COMPILER_VERSION_FULL}" MATCHES ".*gcc version.*")
   set(COMPILER_FAMILY "gcc")


Mime
View raw message