Skip to content

Commit

Permalink
[GLUTEN-6072][BUILD] Fix permission denied error when install AWS SDK (
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouyifan279 authored Jun 17, 2024
1 parent a08a57c commit e2f90e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ep/build-velox/src/get_velox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2f90e9

Please sign in to comment.