[GLUTEN-12193] Support Rocky Linux and AlmaLinux 9 in Velox build setup(#12193)#12194
Open
senthh wants to merge 1 commit into
Open
[GLUTEN-12193] Support Rocky Linux and AlmaLinux 9 in Velox build setup(#12193)#12194senthh wants to merge 1 commit into
senthh wants to merge 1 commit into
Conversation
Treat rocky and almalinux like RHEL 9.x and run setup-rhel.sh so builds no longer fail with "Unsupported linux distribution: rocky".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are proposed in this pull request?
Treat rocky and almalinux like RHEL 9.x and run setup-rhel.sh so builds no longer fail with "Unsupported linux distribution: rocky".
How was this patch tested?
Manual Build got Success with Rocky Linux
Build Output:
```
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing original source artifact with shaded source artifact.
[INFO]
[INFO] --- exec:3.1.0:exec (copy-fat-jar) @ gluten-package ---
[INFO]
[INFO] --- jar:3.2.2:jar (default) @ gluten-package ---
[INFO] Building jar: /root/gluten/package/target/gluten-package-1.7.0-SNAPSHOT-4.1.jar
[INFO]
[INFO] --- source:3.2.1:jar-no-fork (attach-sources) @ gluten-package ---
[WARNING] artifact org.apache.gluten:gluten-package:java-source:sources:1.7.0-SNAPSHOT already attached, replace previous instance
[INFO]
[INFO] --- install:3.1.2:install (default-install) @ gluten-package ---
[INFO] Installing /root/gluten/package/pom.xml to /root/.m2/repository/org/apache/gluten/gluten-package/1.7.0-SNAPSHOT/gluten-package-1.7.0-SNAPSHOT.pom
[INFO] Installing /root/gluten/package/target/gluten-package-1.7.0-SNAPSHOT.jar to /root/.m2/repository/org/apache/gluten/gluten-package/1.7.0-SNAPSHOT/gluten-package-1.7.0-SNAPSHOT.jar
[INFO] Installing /root/gluten/package/target/gluten-package-1.7.0-SNAPSHOT-sources.jar to /root/.m2/repository/org/apache/gluten/gluten-package/1.7.0-SNAPSHOT/gluten-package-1.7.0-SNAPSHOT-sources.jar
[INFO] Installing /root/gluten/package/target/gluten-package-1.7.0-SNAPSHOT-4.1.jar to /root/.m2/repository/org/apache/gluten/gluten-package/1.7.0-SNAPSHOT/gluten-package-1.7.0-SNAPSHOT-4.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Gluten Parent Pom 1.7.0-SNAPSHOT:
[INFO]
[INFO] Gluten Parent Pom .................................. SUCCESS [ 1.224 s]
[INFO] Gluten Core ........................................ SUCCESS [ 21.128 s]
[INFO] Gluten Shims ....................................... SUCCESS [ 0.058 s]
[INFO] Gluten Shims Common ................................ SUCCESS [ 3.813 s]
[INFO] Gluten Shims for Spark 4.1 ......................... SUCCESS [ 5.753 s]
[INFO] Gluten UI .......................................... SUCCESS [ 3.189 s]
[INFO] Gluten Substrait ................................... SUCCESS [ 30.185 s]
[INFO] Gluten Arrow ....................................... SUCCESS [ 8.505 s]
[INFO] Gluten Celeborn .................................... SUCCESS [ 2.573 s]
[INFO] Gluten Uniffle ..................................... SUCCESS [ 0.119 s]
[INFO] Gluten Backends Velox .............................. SUCCESS [ 55.466 s]
[INFO] Gluten Package ..................................... SUCCESS [01:01 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:13 min
[INFO] Finished at: 2026-05-30T12:52:22+05:30
[INFO] ------------------------------------------------------------------------
[root@node82 gluten]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.7 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.7"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.7 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
VENDOR_NAME="RESF"
VENDOR_URL="https://resf.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.7"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.7"