[ 
https://issues.apache.org/jira/browse/IMPALA-3192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17841087#comment-17841087
 ] 

Quanlong Huang commented on IMPALA-3192:
----------------------------------------

This will be helpful. When building the ORC lib only, I have to manually add a 
script for it like this
{code:bash}
# Exit on non-true return value
set -e
# Exit on reference to uninitialized variable
set -u
set -o pipefail

source ./init.sh
source ./init-compiler.sh

export LZ4_VERSION=1.9.3
export PROTOBUF_VERSION=3.14.0
export SNAPPY_VERSION=1.1.8
export ZLIB_VERSION=1.2.13
export ZSTD_VERSION=1.5.2
export GOOGLETEST_VERSION=1.8.0
$SOURCE_DIR/source/protobuf/build.sh
$SOURCE_DIR/source/zlib/build.sh
$SOURCE_DIR/source/googletest/build.sh
$SOURCE_DIR/source/snappy/build.sh
$SOURCE_DIR/source/lz4/build.sh
$SOURCE_DIR/source/zstd/build.sh

ORC_VERSION=1.7.9-p10 $SOURCE_DIR/source/orc/build.sh {code}
But it still builds the compiler and dependencies in the first run.

> Toolchain build should be able to use prebuilt artifacts
> --------------------------------------------------------
>
>                 Key: IMPALA-3192
>                 URL: https://issues.apache.org/jira/browse/IMPALA-3192
>             Project: IMPALA
>          Issue Type: Task
>          Components: Infrastructure
>    Affects Versions: Impala 2.5.0
>            Reporter: casey
>            Priority: Minor
>
> The toolchain build should have an option (maybe the default) to only build 
> what isn't already available for download. Currently, if you want to build 
> the toolchain locally it builds everything. I think the most common use case 
> for a local build is when you want to add something. In that case, you don't 
> want to redo the work of building existing components, they can just be 
> downloaded.
> This would also help avoid issues like 
> https://issues.cloudera.org/browse/IMPALA-3191



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to