Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions dev/build-helper-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -267,14 +267,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
Expand Down
12 changes: 6 additions & 6 deletions ep/build-velox/src/get-velox.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
Expand Down Expand Up @@ -198,12 +198,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
Expand Down
Loading