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

FelixYBW pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 9d1a5fc61f [GLUTEN-12193] Support Rocky Linux and AlmaLinux 9 in Velox 
build setup(#12193) (#12194)
9d1a5fc61f is described below

commit 9d1a5fc61f6783dbd76da7e6c8f306fa25df3056
Author: senthh <[email protected]>
AuthorDate: Tue Jun 9 08:29:25 2026 +0530

    [GLUTEN-12193] Support Rocky Linux and AlmaLinux 9 in Velox build 
setup(#12193) (#12194)
    
    Support Rocky Linux and AlmaLinux 9 in Velox build setup
---
 dev/build-helper-functions.sh   | 13 ++++++-------
 ep/build-velox/src/get-velox.sh | 10 +++++-----
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/dev/build-helper-functions.sh b/dev/build-helper-functions.sh
index 8a53c8600a..c90e68b208 100644
--- a/dev/build-helper-functions.sh
+++ b/dev/build-helper-functions.sh
@@ -280,14 +280,13 @@ function setup_linux {
       exit 1
       ;;
     esac
-  elif [[ "$LINUX_DISTRIBUTION" == "rhel" ]]; then
-    case "$LINUX_VERSION_ID" in
-    9.6)
-       $GLUTEN_VELOX_SCRIPT_HOME/setup-rhel.sh ;;
-    9.7)
-       $GLUTEN_VELOX_SCRIPT_HOME/setup-rhel.sh ;;
+  elif [[ "$LINUX_DISTRIBUTION" == "rhel" || "$LINUX_DISTRIBUTION" == "rocky" 
|| \
+    "$LINUX_DISTRIBUTION" == "almalinux" ]]; then
+    case "${LINUX_VERSION_ID%%.*}" in
+    9)
+      $GLUTEN_VELOX_SCRIPT_HOME/setup-rhel.sh ;;
     *)
-      echo "Unsupported rhel version: $LINUX_VERSION_ID"
+      echo "Unsupported ${LINUX_DISTRIBUTION} version: $LINUX_VERSION_ID"
       exit 1
       ;;
     esac
diff --git a/ep/build-velox/src/get-velox.sh b/ep/build-velox/src/get-velox.sh
index 4755a2a5dc..73e3af15fa 100755
--- a/ep/build-velox/src/get-velox.sh
+++ b/ep/build-velox/src/get-velox.sh
@@ -196,12 +196,12 @@ function setup_linux {
         exit 1
       ;;
     esac
-  elif [[ "$LINUX_DISTRIBUTION" == "rhel" ]]; then
-    case "$LINUX_VERSION_ID" in
-      9.6) ;;
-      9.7) ;;
+  elif [[ "$LINUX_DISTRIBUTION" == "rhel" || "$LINUX_DISTRIBUTION" == "rocky" 
|| \
+    "$LINUX_DISTRIBUTION" == "almalinux" ]]; then
+    case "${LINUX_VERSION_ID%%.*}" in
+      9) ;;
       *)
-        echo "Unsupported rhel version: $LINUX_VERSION_ID"
+        echo "Unsupported ${LINUX_DISTRIBUTION} version: $LINUX_VERSION_ID"
         exit 1
       ;;
     esac


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to