Skip to content

Commit

Permalink
Fixed buildall script (#11515)
Browse files Browse the repository at this point in the history
Signed-off-by: Raza Jafri <[email protected]>
  • Loading branch information
razajafri authored Sep 27, 2024
1 parent fbd4db9 commit f87ccb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/buildall
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ if [[ "$GEN_BLOOP" == "true" ]]; then
exit 0
fi

[[ "$DIST_PROFILE" != "" ]] && MVN_PROFILE_OPT="-P$DIST_PROFILE" || MVN_PROFILE_OPT=""

# First element in SPARK_SHIM_VERSIONS to do most of the checks
export BASE_VER=${SPARK_SHIM_VERSIONS[0]}
export NUM_SHIMS=${#SPARK_SHIM_VERSIONS[@]}
Expand Down Expand Up @@ -305,7 +307,7 @@ time (
# a negligible increase of the build time by ~2 seconds.
joinShimBuildFrom="aggregator"
echo "Resuming from $joinShimBuildFrom build only using $BASE_VER"
$MVN $FINAL_OP -rf $joinShimBuildFrom $MODULE_OPT $INCLUDED_BUILDVERS_OPT \
$MVN $FINAL_OP -rf $joinShimBuildFrom $MODULE_OPT $MVN_PROFILE_OPT $INCLUDED_BUILDVERS_OPT \
-Dbuildver="$BASE_VER" \
-DskipTests -Dmaven.scaladoc.skip
)

0 comments on commit f87ccb9

Please sign in to comment.