1
1

add "--distdir /path/to/move/openmpi-*" param to select where to store build products

needed for jenkins, the default ".." is r/o fs in jenkins

cmr=v1.7.4:reviewer=jsquyres

This commit was SVN r29297.
Этот коммит содержится в:
Mike Dubman 2013-09-30 17:19:47 +00:00
родитель 002ba95deb
Коммит 713af6a7a9

5
contrib/dist/make_dist_tarball поставляемый
Просмотреть файл

@ -58,6 +58,7 @@ fi
greekonly=0 greekonly=0
want_ompi=1 want_ompi=1
autogen_args= autogen_args=
distdir=".."
while test "$1" != ""; do while test "$1" != ""; do
case $1 in case $1 in
-greekonly) greekonly=1 ;; -greekonly) greekonly=1 ;;
@ -68,6 +69,8 @@ while test "$1" != ""; do
--no-ompi) want_ompi=0 ;; --no-ompi) want_ompi=0 ;;
-autogen-args) autogen_args=$2; shift ;; -autogen-args) autogen_args=$2; shift ;;
--autogen-args) autogen_args=$2; shift ;; --autogen-args) autogen_args=$2; shift ;;
-distdir) distdir=$2; shift ;;
--distdir) distdir=$2; shift ;;
*) *)
echo Unrecognized argument: $1 echo Unrecognized argument: $1
exit 1 exit 1
@ -279,7 +282,7 @@ make_tarball() {
# move # move
# #
echo "*** Moving tarballs..." echo "*** Moving tarballs..."
mv openmpi-* .. mv openmpi-* $distdir
echo "*** All done" echo "*** All done"
} }