Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend adapter setup to support Debian distributions #5540

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 14 additions & 0 deletions ep/build-velox/src/modify_velox.patch
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,17 @@ index 2cabfc29a..54329ce23 100644

add_library(
velox_dwio_arrow_parquet_writer_test_lib

diff --git a/scripts/setup-adapters.sh b/scripts/setup-adapters.sh
index 3e3ca3afc..45ce09f99 100755
--- a/scripts/setup-adapters.sh
+++ b/scripts/setup-adapters.sh
@@ -144,7 +144,7 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then
# /etc/os-release is a standard way to query various distribution
# information and is available everywhere
LINUX_DISTRIBUTION=$(. /etc/os-release && echo ${ID})
- if [[ "$LINUX_DISTRIBUTION" == "ubuntu" ]]; then
+ if [[ "$LINUX_DISTRIBUTION" == "ubuntu" || "$LINUX_DISTRIBUTION" == "debian" ]]; then
sudo apt install -y --no-install-recommends libxml2-dev libgsasl7-dev uuid-dev
# Dependencies of GCS, probably a workaround until the docker image is rebuilt
sudo apt install -y --no-install-recommends libc-ares-dev libcurl4-openssl-dev