Please install make and docker on your system, then make
. The gluten packages will be placed in $GLUTEN_REPO/package/target/gluten-velox-bundle-*.jar
.
Please install build depends on your system to compile all libraries:
sudo $GLUTEN_REPO/dev/vcpkg/setup-build-depends.sh
GCC-11 is the minimum required compiler. It needs to be enabled beforehand. Take Centos-7/8 as example:
# CentOS 8 source /opt/rh/gcc-toolset-11/enable # CentOS 7 source /opt/rh/devtoolset-11/enable
For unsupported linux distro, you can install the following packages from package manager.
With --enable_vcpkg=ON
, the below script will install all static libraries into ./vcpkg_installed/
. And it will also set $PATH
and $CMAKE_TOOLCHAIN_FILE
to make CMake to locate the binary tools and libraries. You can configure binary cache to accelerate the build.
$GLUTEN_REPO/dev/buildbundle-veloxbe.sh --enable_vcpkg=ON --build_tests=ON --build_benchmarks=ON --enable_s3=ON --enable_hdfs=ON