Skip to content

Doris-0.15 thirdparty build #7807

Answered by spaces-X
spaces-X asked this question in Q&A
Discussion options

You must be logged in to vote

背景

doris 目录在此文档中记为$DORIS_HOME

基于doris branch-0.15 commit id:7574d39

system info: Linux version 3.10.0-229.el7.x86_64 ([email protected]) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Fri Mar 6 11:36:42 UTC 2015

除非必须要在物理机上进行编译,否则尽量使用 Docker 用社区提供的image 编译

下载第三方库源码

下载第三方库源码的命令如下:

sh download-thirdparty.sh

下载过程中由于网络问题经常下载到一半就断掉,导致比较耽误事,写了一个脚本retry.sh用于不断重试

#!/bin/sh

count=0     
flag=0      
while [ 0 -eq 0 ]
do
    echo ".................. job begin  .................."
    flag=`bash download-thirdparty.sh`
    if [ flag -eq 0 ]; then    
        echo "--------------- download complete ---------------"
        break;
    else                       
        co…

Replies: 1 comment

Comment options

spaces-X
Jan 20, 2022
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by spaces-X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant