You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2023/02/21 15:29:59 UTC

[kudu] branch master updated: [thirdparty] skip build/generation of LLVM benchmarks

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

alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new 0b4cde311 [thirdparty] skip build/generation of LLVM benchmarks
0b4cde311 is described below

commit 0b4cde3113d2bbac009ea141dd3ae595370e2444
Author: Alexey Serbin <al...@apache.org>
AuthorDate: Sat Feb 18 21:53:51 2023 -0800

    [thirdparty] skip build/generation of LLVM benchmarks
    
    This patch turns off generation and build of LLVM benchmarsk when
    building LLVM in Kudu thirdparty.  In addition, it turns off the
    generation of the Ocaml docs.
    
    Doing so allows for building LLVM on Ubuntu 22.04 without patching
    the LLVM code itself.  It also speeds up the build just a bit.
    
    Change-Id: I67592101c5e105b8a4b36fc231b0e67e4585fb0b
    Reviewed-on: http://gerrit.cloudera.org:8080/19514
    Reviewed-by: Yifan Zhang <ch...@163.com>
    Tested-by: Yifan Zhang <ch...@163.com>
---
 thirdparty/build-definitions.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/thirdparty/build-definitions.sh b/thirdparty/build-definitions.sh
index f78926b89..c5775c742 100644
--- a/thirdparty/build-definitions.sh
+++ b/thirdparty/build-definitions.sh
@@ -212,6 +212,9 @@ build_llvm() {
       CLANG_TOOL_CLANG_RENAME_BUILD \
       CLANG_TOOL_DIAGTOOL_BUILD \
       COMPILER_RT_BUILD_LIBFUZZER \
+      LLVM_BUILD_BENCHMARKS \
+      LLVM_ENABLE_OCAMLDOC \
+      LLVM_INCLUDE_BENCHMARKS \
       LLVM_INCLUDE_GO_TESTS \
       LLVM_POLLY_BUILD \
       LLVM_TOOL_BUGPOINT_BUILD \