You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2021/11/19 19:21:52 UTC
[kudu] 01/02: [build] fix THIRDPARTY_DIR used in build_mini_cluster_binaries.sh
This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
commit 7ef0bfec72b7b06074a7187b76ec1771beb4e206
Author: Andrew Wong <aw...@cloudera.com>
AuthorDate: Thu Nov 18 15:24:38 2021 -0800
[build] fix THIRDPARTY_DIR used in build_mini_cluster_binaries.sh
The base directory used in defining THIRDPARTY_DIR in
build_mini_cluster_binaries.sh was incorrect. When running through an
internal build job, it failed with the following error:
15:06:06 2021/11/18 23:06:06 INFO : + build-support/mini-cluster/build_mini_cluster_binaries.sh
15:06:06 2021/11/18 23:06:06 INFO : Building thirdparty...
15:06:06 2021/11/18 23:06:06 INFO : /grid/0/jenkins/workspace/workspace/CI_Build_CDPD/SOURCES/kudu/build-support/enable_devtoolset_inner.sh: line 35: /thirdparty/build-if-necessary.sh: No such file or directory
This is a follow-up to commit dfb3ce9efe51ced39e3c83e229725e26abeb0136.
Change-Id: I0a6ef017e941002241ef55329c168d9bb9afc218
Reviewed-on: http://gerrit.cloudera.org:8080/18035
Reviewed-by: Yingchun Lai <ac...@gmail.com>
Tested-by: Yingchun Lai <ac...@gmail.com>
Reviewed-by: Alexey Serbin <as...@cloudera.com>
---
build-support/mini-cluster/build_mini_cluster_binaries.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build-support/mini-cluster/build_mini_cluster_binaries.sh b/build-support/mini-cluster/build_mini_cluster_binaries.sh
index fe966f5..5914f8b 100755
--- a/build-support/mini-cluster/build_mini_cluster_binaries.sh
+++ b/build-support/mini-cluster/build_mini_cluster_binaries.sh
@@ -84,7 +84,7 @@ if [ -d "$BUILD_ROOT" ]; then
fi
fi
-THIRDPARTY_DIR=${THIRDPARTY_DIR:-$BASE_DIR/thirdparty}
+THIRDPARTY_DIR=${THIRDPARTY_DIR:-$SOURCE_ROOT/thirdparty}
cd $SOURCE_ROOT
if [ -n "$NO_REBUILD_THIRDPARTY" ]; then
echo Skipping thirdparty because NO_REBUILD_THIRDPARTY is not empty