Use own datapipes script
This commit is contained in:
parent
8498db12ef
commit
101e0c4240
@ -24,6 +24,22 @@ source ${build_helper_file}
|
||||
|
||||
begin_task "build_third_party" "Building libraries"
|
||||
|
||||
function exec_script() {
|
||||
name=$(echo "$1" | sed -n -E 's:^build_(.*)\.sh:\1:p')
|
||||
begin_task "build_$name" "Building $name"
|
||||
|
||||
echo -e "Building library with script $color_green${1}$color_normal"
|
||||
./${1}
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "Failed to build library $name. Status code: $?"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#Log the result
|
||||
end_task "build_$name" "Finished $name"
|
||||
echo ""
|
||||
}
|
||||
|
||||
function exec_script_external() {
|
||||
name=$(echo "$1" | sed -n -E 's:^build_(.*)\.sh:\1:p')
|
||||
begin_task "build_$name" "Building $name"
|
||||
@ -46,7 +62,7 @@ exec_script_external build_libevent.sh event
|
||||
exec_script_external build_boringssl.sh boringssl
|
||||
exec_script_external build_breakpad.sh breakpad
|
||||
exec_script_external build_cxxterminal.sh CXXTerminal "libevent_path=event"
|
||||
exec_script_external build_datapipes.sh DataPipes
|
||||
exec_script build_datapipes.sh
|
||||
exec_script_external build_ed25519.sh ed25519
|
||||
exec_script_external build_jsoncpp.sh jsoncpp
|
||||
#exec_script build_mysqlconnector.sh
|
||||
|
Loading…
Reference in New Issue
Block a user