Skip to content

Commit

Permalink
ARROW-10200: [CI][Java] Fix a job failure for s390x Java on TravisCI
Browse files Browse the repository at this point in the history
This is a follow-up of apache#7938. apache#7938 forgot downloading a required dll `libprotobuf.so.18` at the build time.

Closes apache#8368 from kiszk/ARROW-10200

Authored-by: Kazuaki Ishizaki <ishizaki@jp.ibm.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
kiszk authored and emkornfield committed Oct 16, 2020
1 parent 22444af commit 078a155
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/scripts/java_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ if [[ "$(uname -s)" == "Linux" ]] && [[ "$(uname -m)" == "s390x" ]]; then
target=${artifact}-${ver}-${classifier}.${extension}
${wget} ${bintray_base_url}/${bintray_dir}/${ver}/${target}
${mvn_install} -DgroupId=${group} -DartifactId=${artifact} -Dversion=${ver} -Dclassifier=${classifier} -Dpackaging=${extension} -Dfile=$(pwd)/${target}
# protoc requires libprotoc.so.18
# protoc requires libprotoc.so.18 libprotobuf.so.18
${wget} ${bintray_base_url}/${bintray_dir}/${ver}/libprotoc.so.18
${wget} ${bintray_base_url}/${bintray_dir}/${ver}/libprotobuf.so.18
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$(pwd)

bintray_dir="protoc-gen-grpc-java-binary"
Expand Down

0 comments on commit 078a155

Please sign in to comment.