Skip to content

Commit

Permalink
fix: adding debug logs for build script
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhatha committed Aug 29, 2024
1 parent 58415d1 commit 35487a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/scripts/java_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [[ "$(uname -s)" == "Linux" ]] && [[ "$(uname -m)" == "s390x" ]]; then
# target=${artifact}-${ver}-${classifier}.${extension}
target=${artifact}
${wget} ${artifactory_base_url}/${artifactory_dir}/${ver}/${target}
${mvn_install} -DgroupId=${group} -DartifactId=${artifact} -Dversion=${ver} -Dclassifier=${classifier} -Dpackaging=${extension} -Dfile=$(pwd)/${target}
${mvn_install} -DgroupId=${group} -DartifactId=${artifact} -Dversion=${ver} -Dclassifier=${classifier} -Dpackaging=${extension} -Dfile=$(pwd)/${target} -Darrow.memory.debug.allocator=true
# protoc requires libprotoc.so.* libprotobuf.so.*
libver="32"
${wget} ${artifactory_base_url}/${artifactory_dir}/${ver}/libprotoc.so.${libver}
Expand All @@ -63,10 +63,10 @@ if [[ "$(uname -s)" == "Linux" ]] && [[ "$(uname -m)" == "s390x" ]]; then
# target=${artifact}-${ver}-${classifier}.${extension}
target=${artifact}
${wget} ${artifactory_base_url}/${artifactory_dir}/${ver}/${target}
${mvn_install} -DgroupId=${group} -DartifactId=${artifact} -Dversion=${ver} -Dclassifier=${classifier} -Dpackaging=${extension} -Dfile=$(pwd)/${target}
${mvn_install} -DgroupId=${group} -DartifactId=${artifact} -Dversion=${ver} -Dclassifier=${classifier} -Dpackaging=${extension} -Dfile=$(pwd)/${target} -Darrow.memory.debug.allocator=true
fi

mvn="mvn -B -DskipTests -Drat.skip=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
mvn="mvn -B -DskipTests -Drat.skip=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Darrow.memory.debug.allocator=true"

if [ $ARROW_JAVA_SKIP_GIT_PLUGIN ]; then
mvn="${mvn} -Dmaven.gitcommitid.skip=true"
Expand Down

0 comments on commit 35487a9

Please sign in to comment.