You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ra...@apache.org on 2023/01/21 22:24:06 UTC

[arrow] branch master updated: GH-33820: [CI][Release] Don't libxsimd-dev on Ubuntu 20.04 (#33821)

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

raulcd 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 9be6aa52d5 GH-33820: [CI][Release] Don't libxsimd-dev on Ubuntu 20.04 (#33821)
9be6aa52d5 is described below

commit 9be6aa52d55d1d4e04853ca86026d21737e24051
Author: Sutou Kouhei <ko...@clear-code.com>
AuthorDate: Sun Jan 22 07:23:59 2023 +0900

    GH-33820: [CI][Release] Don't libxsimd-dev on Ubuntu 20.04 (#33821)
    
    ### Rationale for this change
    
    Ubuntu 20.04 doesn't ship `libxsimd-dev`.
    
    ### What changes are included in this PR?
    
    Install `libxsimd-dev` only on Ubuntu 22.04 or later.
    
    ### Are these changes tested?
    
    Yes.
    
    ### Are there any user-facing changes?
    
    No.
    * Closes: #33820
    
    Authored-by: Sutou Kouhei <ko...@clear-code.com>
    Signed-off-by: Raúl Cumplido <ra...@gmail.com>
---
 dev/release/setup-ubuntu.sh | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/dev/release/setup-ubuntu.sh b/dev/release/setup-ubuntu.sh
index f0cf569aec..7fde65a006 100755
--- a/dev/release/setup-ubuntu.sh
+++ b/dev/release/setup-ubuntu.sh
@@ -47,11 +47,20 @@ case ${codename} in
     python=3
     apt-get update -y -q
     apt-get install -y -q --no-install-recommends \
-      libxsimd-dev \
       llvm-dev
     ;;
 esac
 
+case ${codename} in
+  bionic|focal)
+    ;;
+  *)
+    apt-get update -y -q
+    apt-get install -y -q --no-install-recommends \
+      libxsimd-dev
+    ;;
+esac
+
 apt-get install -y -q --no-install-recommends \
   build-essential \
   bundler \