Skip to content

Commit

Permalink
gcc from 11 to 9
Browse files Browse the repository at this point in the history
  • Loading branch information
JkSelf committed Nov 14, 2024
1 parent 4e88cee commit d092c4f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dev/package-vcpkg.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

yum install -y devtoolset-9

set -eux

CURRENT_DIR=$(cd "$(dirname "$BASH_SOURCE")"; pwd)
Expand All @@ -11,15 +13,16 @@ ARCH=`uname -m`
cd "$GLUTEN_DIR"
if [ "$LINUX_OS" == "centos" ]; then
if [ "$VERSION" == "8" ]; then
source /opt/rh/gcc-toolset-11/enable
source /opt/rh/gcc-toolset-9/enable
elif [ "$VERSION" == "7" ]; then
export MANPATH=""
source /opt/rh/devtoolset-11/enable
source /opt/rh/devtoolset-9/enable
fi
fi


# build gluten with velox backend, prompt always respond y
export PROMPT_ALWAYS_RESPOND=y
export VCPKG_BINARY_SOURCES=clear

./dev/buildbundle-veloxbe.sh --enable_vcpkg=ON --build_tests=ON --build_arrow=OFF --build_benchmarks=ON --enable_s3=ON --enable_gcs=ON --enable_hdfs=OFF --enable_hdfs3=ON "$@"

0 comments on commit d092c4f

Please sign in to comment.