Changeset 5737

Show
Ignore:
Timestamp:
11/07/09 12:17:40 (2 weeks ago)
Author:
balaji
Message:

Separate out MPICH2's version number from the ABI version so they can
be controlled independently.

Reviewed by buntinas.

Location:
mpich2/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • mpich2/trunk/configure.in

    r5695 r5737  
    138138# Try to find the version 
    139139if test -s "$srcdir/maint/Version" ; then 
    140     MPICH2_VERSION="`cat $srcdir/maint/Version`" 
     140    MPICH2_VERSION="`cat $srcdir/maint/Version | grep ^MPICH2_VERSION: | cut -f2 -d' '`" 
    141141    export MPICH2_VERSION 
    142142else 
     
    202202# Makefile.sm to pass the ABIVERSION to the createshlib script. 
    203203# We use libtool-style version numbers (see --version-info in the  
    204 # libtool manual)  
    205 changequote(<<,>>) 
    206 V1=`expr $MPICH2_VERSION : '\([0-9]*\)\.[0-9]*\.*[0-9]*[a-zA-Z]*[0-9]*'` 
    207 V2=`expr $MPICH2_VERSION : '[0-9]*\.\([0-9]*\)\.*[0-9]*[a-zA-Z]*[0-9]*'` 
    208 changequote([,]) 
    209 ABIVERSION="${V1}:${V2}" 
     204# libtool manual) 
     205ABIVERSION="`cat $srcdir/maint/Version | grep ^MPICH2_ABIVERSION: | cut -f2 -d' '`" 
    210206AC_SUBST(ABIVERSION) 
    211207 
  • mpich2/trunk/maint/Version

    r5726 r5737  
    1 1.2.1rc1 
     1MPICH2_VERSION: 1.2.1rc1 
     2MPICH2_ABIVERSION: 1:2 
  • mpich2/trunk/maint/updatefiles

    r5736 r5737  
    918918if [ "$do_smpdversion" = yes ] ; then 
    919919    echo "Creating src/pm/smpd/smpd_version.h" 
    920     smpdVersion=`cat maint/Version` 
     920    smpdVersion=`cat maint/Version | grep ^MPICH2_VERSION | cut -f2 -d' '` 
    921921    cat >src/pm/smpd/smpd_version.h <<EOF 
    922922/* -*- Mode: C; c-basic-offset:4 ; -*- */ 
     
    929929fi 
    930930 
    931 VERSION=`cat maint/Version` 
     931VERSION=`cat maint/Version | grep ^MPICH2_VERSION | cut -f2 -d' '` 
    932932if [ -f README.vin ] ; then 
    933933    echo "Updating README's version ID."