mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r18293] Added yodconfigure feature.
Tested in RSQual of Sandia.
This commit is contained in:
parent
722a9f9f8b
commit
7bac0bb48d
16
bin/snapshot
16
bin/snapshot
@ -199,6 +199,9 @@ while [ $# -gt 0 ] ; do
|
|||||||
check-vfd)
|
check-vfd)
|
||||||
CHECKVAL=check-vfd
|
CHECKVAL=check-vfd
|
||||||
;;
|
;;
|
||||||
|
yodconfigure)
|
||||||
|
YODCONFIGURE=yes
|
||||||
|
;;
|
||||||
--*)
|
--*)
|
||||||
OP_CONFIGURE="$OP_CONFIGURE $1"
|
OP_CONFIGURE="$OP_CONFIGURE $1"
|
||||||
;;
|
;;
|
||||||
@ -284,7 +287,14 @@ fi
|
|||||||
# Setup the proper configure option (--with-zlib) to use zlib library
|
# Setup the proper configure option (--with-zlib) to use zlib library
|
||||||
# provide ZLIB is non-empty.
|
# provide ZLIB is non-empty.
|
||||||
ZLIB=${ZLIB:+"--with-zlib="$ZLIB}
|
ZLIB=${ZLIB:+"--with-zlib="$ZLIB}
|
||||||
CONFIGURE="./configure $ZLIB $OP_CONFIGURE"
|
if [ -n "$YODCONFIGURE" ]; then
|
||||||
|
cp configure configure.yod
|
||||||
|
bin/yodconfigure configure.yod
|
||||||
|
CONFIGURE="./configure.yod"
|
||||||
|
else
|
||||||
|
CONFIGURE="./configure"
|
||||||
|
fi
|
||||||
|
CONFIGURE="$CONFIGURE $ZLIB $OP_CONFIGURE"
|
||||||
|
|
||||||
# Execute the requests
|
# Execute the requests
|
||||||
snapshot=yes
|
snapshot=yes
|
||||||
@ -460,9 +470,7 @@ if [ "$cmd" = "all" -o -n "$cmdrel" ]; then
|
|||||||
echo "Making snapshot release ($RELEASE_VERSION) to ${ReleaseDir}..."
|
echo "Making snapshot release ($RELEASE_VERSION) to ${ReleaseDir}..."
|
||||||
bin/release -d $ReleaseDir $METHODS
|
bin/release -d $ReleaseDir $METHODS
|
||||||
perl bin/h5vers -i
|
perl bin/h5vers -i
|
||||||
echo "Committing snapshot from current/bin/snapshot."
|
svn -q commit -m "Snapshot $RELEASE_VERSION"
|
||||||
ls
|
|
||||||
svn -q commit -m "Snapshot $RELEASE_VERSION" .
|
|
||||||
)
|
)
|
||||||
errcode=$?
|
errcode=$?
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user