mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
IMPALA-9426 Download Python dependencies even skipping bootstrap toolchain
Download Python dependencies even skipping bootstrap toolchain. Because when you set SKIP_TOOLCHAIN_BOOTSTRAP=true, the python dependencies still need to be downloaded. The toolchain building process will not download the python dependencies autometically Change-Id: I012314793ffb521001951ab7ec3d7a3ba737c405 Reviewed-on: http://gerrit.cloudera.org:8080/15297 Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
committed by
Impala Public Jenkins
parent
acf59ab882
commit
3062a8f67c
@@ -311,6 +311,9 @@ fi
|
||||
# If true, will not call $IMPALA_HOME/bin/bootstrap_toolchain.py.
|
||||
export SKIP_TOOLCHAIN_BOOTSTRAP=${SKIP_TOOLCHAIN_BOOTSTRAP-false}
|
||||
|
||||
# If true, will not download python dependencies.
|
||||
export SKIP_PYTHON_DOWNLOAD=${SKIP_PYTHON_DOWNLOAD-false}
|
||||
|
||||
# This flag is used in $IMPALA_HOME/cmake_modules/toolchain.cmake.
|
||||
# If it's 0, Impala will be built with the compiler in the toolchain directory.
|
||||
export USE_SYSTEM_GCC=${USE_SYSTEM_GCC-0}
|
||||
|
||||
11
buildall.sh
11
buildall.sh
@@ -374,10 +374,8 @@ create_log_dirs() {
|
||||
}
|
||||
|
||||
bootstrap_dependencies() {
|
||||
# Populate necessary thirdparty components unless it's set to be skipped.
|
||||
if [[ "${SKIP_TOOLCHAIN_BOOTSTRAP}" = true ]]; then
|
||||
echo "SKIP_TOOLCHAIN_BOOTSTRAP is true, skipping download of Python dependencies."
|
||||
echo "SKIP_TOOLCHAIN_BOOTSTRAP is true, skipping toolchain bootstrap."
|
||||
if [[ "${SKIP_PYTHON_DOWNLOAD}" = true ]]; then
|
||||
echo "SKIP_PYTHON_DOWNLOAD is true, skipping python dependencies download."
|
||||
else
|
||||
echo ">>> Downloading Python dependencies"
|
||||
# Download all the Python dependencies we need before doing anything
|
||||
@@ -388,7 +386,12 @@ bootstrap_dependencies() {
|
||||
else
|
||||
echo "Finished downloading Python dependencies"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Populate necessary thirdparty components unless it's set to be skipped.
|
||||
if [[ "${SKIP_TOOLCHAIN_BOOTSTRAP}" = true ]]; then
|
||||
echo "SKIP_TOOLCHAIN_BOOTSTRAP is true, skipping toolchain bootstrap."
|
||||
else
|
||||
echo ">>> Downloading and extracting toolchain dependencies."
|
||||
"$IMPALA_HOME/bin/bootstrap_toolchain.py"
|
||||
echo "Toolchain bootstrap complete."
|
||||
|
||||
Reference in New Issue
Block a user