Skip to content

Commit

Permalink
[VL] Support RedHat 7/8 loadLibFromJar (#3893)
Browse files Browse the repository at this point in the history
Co-authored-by: yuqi <[email protected]>
  • Loading branch information
ychris78 and yuqi authored Dec 1, 2023
1 parent c926725 commit 26fc887
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,15 @@ class ListenerApiImpl extends ListenerApi {
new SharedLibraryLoaderCentos7
} else if (system.contains("tencentos") && system.contains("3.2")) {
new SharedLibraryLoaderCentos8
} else if (systemName.contains("Red Hat") && systemVersion.startsWith("8")) {
new SharedLibraryLoaderCentos8
} else if (systemName.contains("Red Hat") && systemVersion.startsWith("7")) {
new SharedLibraryLoaderCentos7
} else {
throw new GlutenException(
"Found unsupported OS! 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.")
"Alibaba Cloud Linux 2/3 & Anolis 7/8, tencentos 3.2, RedHat 7/8.")
}
loader.loadLib(load)
}
Expand Down

0 comments on commit 26fc887

Please sign in to comment.