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 e2f90e961 [GLUTEN-6072][BUILD] Fix permission denied error when
install AWS SDK (#6073)
e2f90e961 is described below
commit e2f90e96146b97c5fef1fad5fe704ce37faa9894
Author: zhouyifan279 <[email protected]>
AuthorDate: Mon Jun 17 08:34:12 2024 +0800
[GLUTEN-6072][BUILD] Fix permission denied error when install AWS SDK
(#6073)
---
ep/build-velox/src/get_velox.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ep/build-velox/src/get_velox.sh b/ep/build-velox/src/get_velox.sh
index 49654d8a8..d118ca0c9 100755
--- a/ep/build-velox/src/get_velox.sh
+++ b/ep/build-velox/src/get_velox.sh
@@ -274,8 +274,8 @@ function setup_linux {
local LINUX_VERSION_ID=$(. /etc/os-release && echo ${VERSION_ID})
# apply patches
- sed -i 's/^ ninja -C "${BINARY_DIR}" install/ sudo ninja -C
"${BINARY_DIR}" install/g' scripts/setup-helper-functions.sh
sed -i 's/-mavx2 -mfma -mavx -mf16c -mlzcnt -std=c++17/-march=native
-std=c++17 -mno-avx512f/g' scripts/setup-helper-functions.sh
+ sed -i 's/SUDO="${SUDO:-""}"/SUDO="${SUDO:-"sudo --preserve-env"}"/g'
scripts/setup-helper-functions.sh
if [[ "$LINUX_DISTRIBUTION" == "ubuntu" || "$LINUX_DISTRIBUTION" == "debian"
|| "$LINUX_DISTRIBUTION" == "pop" ]]; then
process_setup_ubuntu
elif [[ "$LINUX_DISTRIBUTION" == "centos" ]]; then
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]