Skip to content

Commit c7c2e1e

Browse files
committed
BIGTOP-3894: Failed to build Alluxio on ppcle64 centos
1 parent 2d496cd commit c7c2e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bigtop-packages/src/common/alluxio/do-component-build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ if [ $HOSTTYPE = "powerpc64le" ] ; then
2626
# BIGTOP-3894
2727
# protobuf-3.19.2/3.17.3 doesn't offically support ppc64le;
2828
# Skip protoc backwards compatibility check here.
29-
sed -i 's/3.19.2/3.17.3/g' pom.xml
3029
sed -i -e :a -e '$!N;s/.*\n\(.*salesforce\)/\1/;ta' -e 'P;D' pom.xml
3130
sed -i '/com.salesforce.servicelibs/,+3d' pom.xml
3231
sed -i '/Proto lock for preventing/,+14d' core/transport/pom.xml
@@ -35,6 +34,7 @@ if [ $HOSTTYPE = "powerpc64le" ] ; then
3534
# And protoc grpc-java-1.28.0 was also built based on protobuf-3.17.3 in Bigtop toolchain.
3635
# So manually install 3.17.3 here to workaound the GLIBC issue on Centos-7.
3736
if [ "${OS}" = "centos" ]; then
37+
sed -i 's/3.19.2/3.17.3/g' pom.xml
3838
mvn install:install-file -DgroupId=com.google.protobuf -DartifactId=protoc -Dversion=3.17.3 \
3939
-Dclassifier=linux-ppcle_64 -Dpackaging=exe -Dfile=/usr/local/protobuf-3.17.3/bin/protoc "$@"
4040
fi

0 commit comments

Comments
 (0)