You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by wd...@apache.org on 2018/10/08 15:47:22 UTC
[1/2] kudu git commit: [design-docs] Add missing backtick in
compaction-policy.md
Repository: kudu
Updated Branches:
refs/heads/master 42b75278a -> 2d6f8ffa9
[design-docs] Add missing backtick in compaction-policy.md
Change-Id: Iee52f0e8551b5ea61128be56107e550c47c9fb45
Reviewed-on: http://gerrit.cloudera.org:8080/11600
Tested-by: Will Berkeley <wd...@gmail.com>
Reviewed-by: Andrew Wong <aw...@cloudera.com>
Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/88229a52
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/88229a52
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/88229a52
Branch: refs/heads/master
Commit: 88229a52bdebdfbaa103c553d77a7a6118e87122
Parents: 42b7527
Author: Will Berkeley <wd...@gmail.org>
Authored: Fri Oct 5 14:51:34 2018 -0700
Committer: Andrew Wong <aw...@cloudera.com>
Committed: Fri Oct 5 21:53:09 2018 +0000
----------------------------------------------------------------------
docs/design-docs/compaction-policy.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kudu/blob/88229a52/docs/design-docs/compaction-policy.md
----------------------------------------------------------------------
diff --git a/docs/design-docs/compaction-policy.md b/docs/design-docs/compaction-policy.md
index dee61d1..f11a4b4 100644
--- a/docs/design-docs/compaction-policy.md
+++ b/docs/design-docs/compaction-policy.md
@@ -372,7 +372,7 @@ Computational complexity
----------------------------
The algorithm contains `O(n^2)` calls to BestForPair, each of which contains one instance of the
-0-1 knapsack problem, which has complexity `O(n * max_budget). Thus, the total complexity is cubic
+0-1 knapsack problem, which has complexity `O(n * max_budget)`. Thus, the total complexity is cubic
in the number of rowsets, which can become quite expensive when a given tablet may include on the
order of a thousand rowsets.
[2/2] kudu git commit: [mac] Add support for XCode 10
Posted by wd...@apache.org.
[mac] Add support for XCode 10
Change-Id: I442a1cd4605858b0800fc7d7686817936efd155e
Reviewed-on: http://gerrit.cloudera.org:8080/11602
Reviewed-by: Alexey Serbin <as...@cloudera.com>
Tested-by: Kudu Jenkins
Reviewed-by: Attila Bukor <ab...@apache.org>
Tested-by: Attila Bukor <ab...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/2d6f8ffa
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/2d6f8ffa
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/2d6f8ffa
Branch: refs/heads/master
Commit: 2d6f8ffa9d14aacb0096d9d62fe4f5d71741fb4f
Parents: 88229a5
Author: Will Berkeley <wd...@gmail.org>
Authored: Fri Oct 5 16:20:07 2018 -0700
Committer: Will Berkeley <wd...@gmail.com>
Committed: Mon Oct 8 15:46:28 2018 +0000
----------------------------------------------------------------------
cmake_modules/CompilerInfo.cmake | 10 ++++++++++
1 file changed, 10 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kudu/blob/2d6f8ffa/cmake_modules/CompilerInfo.cmake
----------------------------------------------------------------------
diff --git a/cmake_modules/CompilerInfo.cmake b/cmake_modules/CompilerInfo.cmake
index ff5f789..8422e99 100644
--- a/cmake_modules/CompilerInfo.cmake
+++ b/cmake_modules/CompilerInfo.cmake
@@ -55,6 +55,15 @@ elseif("${COMPILER_VERSION_FULL}" MATCHES ".*clang-9")
set(COMPILER_FAMILY "clang")
set(COMPILER_VERSION "4.0.0svn")
+# clang on macOS, XCode 10.
+#
+# TODO(wdberkeley): 6.0.0svn is also just a guess, for the same reason, and
+# generated from the same sources, particularly the comment
+# https://gist.github.com/yamaya/2924292#gistcomment-801888.
+elseif("${COMPILER_VERSION_FULL}" MATCHES ".*clang-10")
+ set(COMPILER_FAMILY "clang")
+ set(COMPILER_VERSION "6.0.0svn")
+
# gcc
elseif("${COMPILER_VERSION_FULL}" MATCHES ".*gcc version.*")
set(COMPILER_FAMILY "gcc")
@@ -63,6 +72,7 @@ elseif("${COMPILER_VERSION_FULL}" MATCHES ".*gcc version.*")
else()
message(FATAL_ERROR "Unknown compiler. Version info:\n${COMPILER_VERSION_FULL}")
endif()
+
message("Selected compiler ${COMPILER_FAMILY} ${COMPILER_VERSION}")
# gcc (and some varieties of clang) mention the path prefix where system headers