Skip to content

Commit

Permalink
[CELEBORN-838] Add custom mvn flag to celeborn
Browse files Browse the repository at this point in the history
  • Loading branch information
Aravind Patnam committed Jul 25, 2023
1 parent e16b267 commit 7385baa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/make-distribution.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ PROJECT_DIR="$(cd "`dirname "$0"`/.."; pwd)"
DIST_DIR="$PROJECT_DIR/dist"
NAME="bin"
RELEASE="false"
MVN="$PROJECT_DIR/build/mvn"

function exit_with_usage {
echo "make-distribution.sh - tool for making binary distributions of Celeborn"
Expand All @@ -42,6 +43,10 @@ while (( "$#" )); do
NAME="bin-$2"
shift
;;
--mvn)
MVN="$2"
shift
;;
--release)
RELEASE="true"
;;
Expand Down Expand Up @@ -86,7 +91,6 @@ if [ -z "$JAVA_HOME" ]; then
exit -1
fi

MVN="$PROJECT_DIR/build/mvn"
export MAVEN_OPTS="${MAVEN_OPTS:--Xmx2g -XX:ReservedCodeCacheSize=1g}"

if [ ! "$(command -v "$MVN")" ] ; then
Expand Down

0 comments on commit 7385baa

Please sign in to comment.