This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 79be81a [chore] Optimize build_lz4 in build-thirdparty.sh (#8653)
79be81a is described below
commit 79be81a8a4ff80b1e2373341bd6d14a705e81b89
Author: Adonis Ling <[email protected]>
AuthorDate: Mon Mar 28 10:24:32 2022 +0800
[chore] Optimize build_lz4 in build-thirdparty.sh (#8653)
---
thirdparty/build-thirdparty.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/thirdparty/build-thirdparty.sh b/thirdparty/build-thirdparty.sh
index 4f175e9..3b7a108 100755
--- a/thirdparty/build-thirdparty.sh
+++ b/thirdparty/build-thirdparty.sh
@@ -427,6 +427,12 @@ build_lz4() {
check_if_source_exist $LZ4_SOURCE
cd $TP_SOURCE_DIR/$LZ4_SOURCE
+ # clean old symbolic links
+ local old_symbolic_links=('lz4c' 'lz4cat' 'unlz4')
+ for link in ${old_symbolic_links[@]}; do
+ rm -f "${TP_INSTALL_DIR}/bin/${link}"
+ done
+
make -j $PARALLEL install PREFIX=$TP_INSTALL_DIR BUILD_SHARED=no\
INCLUDEDIR=$TP_INCLUDE_DIR/lz4/
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]