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

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


The following commit(s) were added to refs/heads/main by this push:
     new d7b978d6d [GLUTEN-6064][VL] Support loading shared libraries on 
RedHat-9 (#6063)
d7b978d6d is described below

commit d7b978d6dd469e18599179f7136208471994a936
Author: deepa <[email protected]>
AuthorDate: Wed Jun 19 12:21:58 2024 +0530

    [GLUTEN-6064][VL] Support loading shared libraries on RedHat-9 (#6063)
---
 .../scala/org/apache/gluten/backendsapi/velox/VeloxListenerApi.scala  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/backends-velox/src/main/scala/org/apache/gluten/backendsapi/velox/VeloxListenerApi.scala
 
b/backends-velox/src/main/scala/org/apache/gluten/backendsapi/velox/VeloxListenerApi.scala
index 0ad267d4c..41b56804b 100644
--- 
a/backends-velox/src/main/scala/org/apache/gluten/backendsapi/velox/VeloxListenerApi.scala
+++ 
b/backends-velox/src/main/scala/org/apache/gluten/backendsapi/velox/VeloxListenerApi.scala
@@ -80,6 +80,8 @@ class VeloxListenerApi extends ListenerApi {
       new SharedLibraryLoaderCentos7
     } else if (system.contains("tencentos") && system.contains("3.2")) {
       new SharedLibraryLoaderCentos8
+    } else if (systemName.contains("Red Hat") && 
systemVersion.startsWith("9")) {
+      new SharedLibraryLoaderCentos8
     } else if (systemName.contains("Red Hat") && 
systemVersion.startsWith("8")) {
       new SharedLibraryLoaderCentos8
     } else if (systemName.contains("Red Hat") && 
systemVersion.startsWith("7")) {
@@ -92,7 +94,7 @@ class VeloxListenerApi extends ListenerApi {
       throw new GlutenException(
         s"Found unsupported OS($systemName, $systemVersion)! Currently, 
Gluten's Velox backend" +
           " only supports Ubuntu 20.04/22.04, CentOS 7/8, " +
-          "Alibaba Cloud Linux 2/3 & Anolis 7/8, tencentos 3.2, RedHat 7/8, " +
+          "Alibaba Cloud Linux 2/3 & Anolis 7/8, tencentos 3.2, RedHat 7/8/9, 
" +
           "Debian 11/12.")
     }
   }


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

Reply via email to