You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by se...@apache.org on 2022/05/06 16:12:36 UTC
[bigtop] branch branch-3.1 updated: BIGTOP-3679. Building Phoenix for CentOS 7 fails on aarch64. (#899)
This is an automated email from the ASF dual-hosted git repository.
sekikn pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new ff1ba5f1 BIGTOP-3679. Building Phoenix for CentOS 7 fails on aarch64. (#899)
ff1ba5f1 is described below
commit ff1ba5f1442094bca7ed53aba1faa991499dc1aa
Author: Masatake Iwasaki <iw...@apache.org>
AuthorDate: Sat May 7 01:11:22 2022 +0900
BIGTOP-3679. Building Phoenix for CentOS 7 fails on aarch64. (#899)
(cherry picked from commit a2084afeec53f1e2faa6fdafa3f99aa097a82788)
---
bigtop-packages/src/common/phoenix/do-component-build | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/bigtop-packages/src/common/phoenix/do-component-build b/bigtop-packages/src/common/phoenix/do-component-build
index da14ab32..a07b385d 100644
--- a/bigtop-packages/src/common/phoenix/do-component-build
+++ b/bigtop-packages/src/common/phoenix/do-component-build
@@ -17,20 +17,24 @@
set -ex
. `dirname $0`/bigtop.bom
+MVN_ARGS="-DskipTests "
+MVN_ARGS+="-Dhadoop.version=$HADOOP_VERSION "
+MVN_ARGS+="-Dhbase.version=$HBASE_VERSION "
+MVN_ARGS+="-Dhbase.profile=${HBASE_VERSION%.*} "
+
# create com.google.protobuf:protoc artifact with local protoc built by toolchain
if [ $HOSTTYPE = "powerpc64le" ] ; then
mvn install:install-file -DgroupId=com.google.protobuf -DartifactId=protoc -Dversion=2.5.0 \
-Dclassifier=linux-ppcle_64 -Dpackaging=exe -Dfile=/usr/local/bin/protoc
+ MVN_ARGS+="-Dprotobuf.group=com.google.protobuf -Dprotoc.version=2.5.0 "
elif [ $HOSTTYPE = "aarch64" ] ; then
mvn install:install-file -DgroupId=com.google.protobuf -DartifactId=protoc -Dversion=2.5.0 \
-Dclassifier=linux-aarch_64 -Dpackaging=exe -Dfile=/usr/local/bin/protoc
+ MVN_ARGS+="-Dprotobuf.group=com.google.protobuf -Dprotoc.version=2.5.0 "
fi
-mvn -DskipTests \
- -Dhadoop.version=$HADOOP_VERSION \
- -Dhbase.version=$HBASE_VERSION \
- -Dhbase.profile=${HBASE_VERSION%.*} \
- clean install "$@"
+mvn ${MVN_ARGS} clean install "$@"
+
rm -rf build
mkdir build