1
1

Add the option to not make the greek tarball, only making the non-greek one

Этот коммит содержится в:
Ralph Castain 2016-03-18 12:25:20 -07:00
родитель d30911f186
Коммит 972026b9c1

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

@ -11,6 +11,7 @@
# Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved.
# Copyright (c) 2008-2015 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2016 Intel, Inc. All rights reserved
# $COPYRIGHT$
#
# Additional copyrights may follow
@ -49,6 +50,7 @@ want_ompi=1
autogen_args=
distdir=".."
greekonly=0
nogreek=0
dirty_ok=0
gnu_version_ignore=0
dist_target=distcheck
@ -68,6 +70,7 @@ fi
while test "$1" != ""; do
case $1 in
--greekonly) greekonly=1 ;;
--no-greek) nogreek=1 ;;
--highok) highok=1 ;;
--no-ompi) want_ompi=0 ;;
--autogen-args) autogen_args=$2; shift ;;
@ -81,6 +84,7 @@ Unrecognized argument: $1
Valid arguments:
--greekonly Only build the greek tarball (vs. both tarballs)
--no-greek Do not build the greek tarball
--highok Ok if Autotools versions are too high
--no-ompi Don't build the OMPI or OSHMEM layers
--autogen-args Arguments to pass to autogen
@ -421,10 +425,12 @@ done
# tarball)
#
# First, make greek tarball
# First, if ! --no-greek, make greek tarball
echo "*** Making greek tarball"
make_tarball
if test $nogreek -eq 0; then
echo "*** Making greek tarball"
make_tarball
fi
# Now if ! --greekonly, make the non-greek tarball