This is an automated email from the ASF dual-hosted git repository.

iwasakims pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/master by this push:
     new 589007a  BIGTOP-3554: Phoenix build failure caused by protoc-2.5.0 
(#786)
589007a is described below

commit 589007a4763703cd02c68264755251707c3f4dab
Author: Jun He <[email protected]>
AuthorDate: Wed Jun 9 23:44:57 2021 +0800

    BIGTOP-3554: Phoenix build failure caused by protoc-2.5.0 (#786)
    
    Change-Id: I7b153ae0c32b2d863488d3075c518e955d7cd9b2
    Signed-off-by: Jun He <[email protected]>
---
 bigtop-packages/src/common/phoenix/do-component-build | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/bigtop-packages/src/common/phoenix/do-component-build 
b/bigtop-packages/src/common/phoenix/do-component-build
index e7213d6..da14ab3 100644
--- a/bigtop-packages/src/common/phoenix/do-component-build
+++ b/bigtop-packages/src/common/phoenix/do-component-build
@@ -17,6 +17,15 @@
 set -ex
 . `dirname $0`/bigtop.bom
 
+# 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
+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
+fi
+
 mvn -DskipTests \
     -Dhadoop.version=$HADOOP_VERSION  \
     -Dhbase.version=$HBASE_VERSION  \
@@ -25,4 +34,4 @@ mvn -DskipTests \
 rm -rf build
 mkdir build
 
-tar -C build --strip-components=1 -xzf 
phoenix-assembly/target/phoenix-hbase-${HBASE_VERSION%.*}-${PHOENIX_VERSION}-bin.tar.gz
\ No newline at end of file
+tar -C build --strip-components=1 -xzf 
phoenix-assembly/target/phoenix-hbase-${HBASE_VERSION%.*}-${PHOENIX_VERSION}-bin.tar.gz

Reply via email to