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 2026/08/19 14:14:08 UTC

(kudu) branch master updated (e9f266eab -> 22028a29f)

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

asf-gitbox-commits pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


    from e9f266eab KUDU-3788 introduce custom source URL
     new 2f7a035ee KUDU-3788 remove custom mapping in component_name_to_tag
     new 22028a29f [thirdparty] skip building unused LLVM/CLANG tools

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 thirdparty/build-definitions.sh | 11 +++++++++++
 thirdparty/prebuilt-utils.sh    |  9 +--------
 thirdparty/vars.sh              |  4 +++-
 3 files changed, 15 insertions(+), 9 deletions(-)


(kudu) 01/02: KUDU-3788 remove custom mapping in component_name_to_tag

Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 2f7a035ee6577724b1fcfd33079d9224b52731e8
Author: Alexey Serbin <al...@apache.org>
AuthorDate: Tue Aug 18 15:03:21 2026 -0700

    KUDU-3788 remove custom mapping in component_name_to_tag
    
    Once introducing LIBCXXABI_xxx and LIBCXX_xxx variables into
    thirdparty/vars.sh pointed to their LLVM_xxx counterparts, there
    isn't a need to perform custom mapping for libcxxabi and libcxx
    components in the component_name_to_tag() function anymore.
    
    There are no functional modifications in this changelist.
    
    Change-Id: Ib278feaf3a6932b049d33ad0867ed0a1c1954b95
    Reviewed-on: http://gerrit.cloudera.org:8080/24708
    Reviewed-by: Zoltan Martonka <zm...@cloudera.com>
    Tested-by: Alexey Serbin <al...@apache.org>
---
 thirdparty/prebuilt-utils.sh | 9 +--------
 thirdparty/vars.sh           | 2 ++
 2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/thirdparty/prebuilt-utils.sh b/thirdparty/prebuilt-utils.sh
index 09aa5b548..15431dd37 100644
--- a/thirdparty/prebuilt-utils.sh
+++ b/thirdparty/prebuilt-utils.sh
@@ -156,14 +156,7 @@ init_prebuilt_platform() {
 # is assigned by Kudu maintainers.
 component_name_to_tag() {
   local component_name=$1
-
-  local name=$component_name
-  case "$component_name" in
-    # libcxx and libcxxabi are both parts of the LLVM/CLANG.
-    libcxx|libcxxabi) name="llvm" ;;
-    *) ;;
-  esac
-  name=$(echo $name | tr '[:lower:]' '[:upper:]' | tr '-' '_')
+  local name=$(echo $component_name | tr '[:lower:]' '[:upper:]' | tr '-' '_')
 
   # Building a variable in the xxx_NAME form: vars.sh contains corresponding
   # versioned strings for all the 3rd-party components.
diff --git a/thirdparty/vars.sh b/thirdparty/vars.sh
index dcb6d18d9..7ba567ed7 100644
--- a/thirdparty/vars.sh
+++ b/thirdparty/vars.sh
@@ -380,6 +380,7 @@ LLVM_PATCHES=(
 
 # All libcxxabi's variables are pointing to LLVM's: libcxxabi is built
 # from the same LLVM sources, but in a different build directory.
+LIBCXXABI_VERSION=$LLVM_VERSION
 LIBCXXABI_PATCHLEVEL=$LLVM_PATCHLEVEL
 LIBCXXABI_ARCHIVE=$LLVM_ARCHIVE
 LIBCXXABI_NAME=$LLVM_NAME
@@ -387,6 +388,7 @@ LIBCXXABI_SOURCE=$LLVM_SOURCE
 
 # All libcxx's variables are pointing to LLVM's: libcxxabi is built
 # from the same LLVM sources, but in a different build directory.
+LIBCXX_VERSION=$LLVM_VERSION
 LIBCXX_PATCHLEVEL=$LLVM_PATCHLEVEL
 LIBCXX_ARCHIVE=$LLVM_ARCHIVE
 LIBCXX_NAME=$LLVM_NAME


(kudu) 02/02: [thirdparty] skip building unused LLVM/CLANG tools

Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 22028a29fa0b27bb82bdcd8812a5a06d2d23c44b
Author: Alexey Serbin <al...@apache.org>
AuthorDate: Mon Aug 17 19:31:50 2026 -0700

    [thirdparty] skip building unused LLVM/CLANG tools
    
    This changelist removes a few more LLVM/CLANG tools from the list
    of components to build: those aren't used in Kudu.  Removing unused
    tools helps reduce build times and the size of the pre-built archive.
    
    Below are the stats on the pre-built archive size reduction for a
    couple of supported platforms:
      llvm-11.0.0.p10.rhel-9.x86_64.gcc-11.5.tar.xz         333668880
      llvm-11.0.0.p11.rhel-9.x86_64.gcc-11.5.tar.xz         283293488
    
      llvm-11.0.0.p10.macos-26.x86_64.clang-17.0.tar.xz     237209484
      llvm-11.0.0.p11.macos-26.x86_64.clang-17.0.tar.xz     198899528
    
    Change-Id: Ia8efa4c3cd4edfa788d633c32debdec1b63b48ea
    Reviewed-on: http://gerrit.cloudera.org:8080/24705
    Reviewed-by: Ashwani Raina <ar...@gmail.com>
    Tested-by: Alexey Serbin <al...@apache.org>
---
 thirdparty/build-definitions.sh | 11 +++++++++++
 thirdparty/vars.sh              |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/thirdparty/build-definitions.sh b/thirdparty/build-definitions.sh
index 0a5a1d5dc..905019fd8 100644
--- a/thirdparty/build-definitions.sh
+++ b/thirdparty/build-definitions.sh
@@ -202,18 +202,27 @@ build_llvm() {
   # Disable some builds we don't care about.
   for arg in \
       CLANG_ENABLE_ARCMT \
+      CLANG_ENABLE_CLANGD \
       CLANG_TOOL_ARCMT_TEST_BUILD \
       CLANG_TOOL_C_ARCMT_TEST_BUILD \
       CLANG_TOOL_C_INDEX_TEST_BUILD \
       CLANG_TOOL_CLANG_CHECK_BUILD \
       CLANG_TOOL_CLANG_DIFF_BUILD \
+      CLANG_TOOL_CLANG_EXTDEF_MAPPING_BUILD \
+      CLANG_TOOL_CLANG_FORMAT_BUILD \
       CLANG_TOOL_CLANG_FORMAT_VS_BUILD \
       CLANG_TOOL_CLANG_FUZZER_BUILD \
       CLANG_TOOL_CLANG_IMPORT_TEST_BUILD \
       CLANG_TOOL_CLANG_OFFLOAD_BUNDLER_BUILD \
+      CLANG_TOOL_CLANG_OFFLOAD_WRAPPER_BUILD \
+      CLANG_TOOL_CLANG_QUERY_BUILD \
       CLANG_TOOL_CLANG_REFACTOR_BUILD \
       CLANG_TOOL_CLANG_RENAME_BUILD \
+      CLANG_TOOL_CLANG_SCAN_DEPS_BUILD \
+      CLANG_TOOL_CLANG_SHLIB_BUILD \
       CLANG_TOOL_DIAGTOOL_BUILD \
+      CLANG_TOOL_SCAN_BUILD_BUILD \
+      CLANG_TOOL_SCAN_VIEW_BUILD \
       COMPILER_RT_BUILD_LIBFUZZER \
       COMPILER_RT_INCLUDE_TESTS \
       LLVM_BUILD_BENCHMARKS \
@@ -265,6 +274,8 @@ build_llvm() {
       LLVM_TOOL_OBJ2YAML_BUILD \
       LLVM_TOOL_OPT_BUILD \
       LLVM_TOOL_OPT_VIEWER_BUILD \
+      LLVM_TOOL_SANCOV_BUILD \
+      LLVM_TOOL_SANSTATS_BUILD \
       LLVM_TOOL_VERIFY_USELISTORDER_BUILD \
       LLVM_TOOL_XCODE_TOOLCHAIN_BUILD \
       LLVM_TOOL_YAML2OBJ_BUILD \
diff --git a/thirdparty/vars.sh b/thirdparty/vars.sh
index 7ba567ed7..a00916355 100644
--- a/thirdparty/vars.sh
+++ b/thirdparty/vars.sh
@@ -354,7 +354,7 @@ LIBUNWIND_PATCHES=(
 # The include-what-you-use is built along with LLVM in its source tree.
 IWYU_VERSION=0.15
 LLVM_VERSION=11.0.0
-LLVM_PATCHLEVEL=10
+LLVM_PATCHLEVEL=11
 LLVM_NAME=llvm-$LLVM_VERSION.src
 LLVM_SOURCE=$TP_SOURCE_DIR/$LLVM_NAME
 LLVM_ARCHIVE=llvm-$LLVM_VERSION-iwyu-$IWYU_VERSION.src.tar.gz