Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
# Assume that ${IMPALA_HOME} has the Impala source checkout and ${NATIVE_TOOLCHAIN_HOME} has the native-toolchain source checkout
cd ${IMPALA_HOME}
# Symlink the built packages into the toolchain/ subdirectory
(mkdir -p toolchain && cd toolchain && ln -s ${NATIVE_TOOLCHAIN_HOME}/build/* .)

# Optional: ${IMPALA_HOME}/toolchain is the default value for IMPALA_TOOLCHAIN
export IMPALA_TOOLCHAIN=Disable toolchain bootstrapping, which could replace our binaries with precompiled ones. You may want to add this to your .bashrc file.
export SKIP_TOOLCHAIN_BOOTSTRAP=true
# Optional: ${IMPALA_HOME}/toolchain

# Disableis toolchainthe bootstrapping,default whichvalue could replace our binaries with precompiled onesfor IMPALA_TOOLCHAIN. You may want to add this to your .bashrc file.
export SKIPIMPALA_TOOLCHAIN_BOOTSTRAP=true=${IMPALA_HOME}/toolchain

# # Build Impala - this will pick up the new toolchain.
./buildall.sh <args>