[Lustre-discuss] [wc-discuss] Re: building lustre 2.1 on centos5.6

Andreas Dilger adilger at whamcloud.com
Thu Sep 15 10:50:07 PDT 2011


On 2011-09-15, at 9:47 AM, Johann Lombardi wrote:
> On Thu, Sep 15, 2011 at 09:12:24AM -0600, Kristen J. Webb wrote:
>> git clone git://git.whamcloud.com/fs/lustre-release.git
>> 
>> I believe I'm installing a version of 1.8 with this command?
> 
> 'git branch' should tell you that you are on the master branch already, which is currently lustre 2.1. 'git checkout 2.1.0-RC1' to access the latest tag.

Even easier is "git describe" which tells you the most recent tag, and how
many commits your branch is beyond that tag:

[adilger at cabot lustre-git]$ git describe
2.1.0-RC1-6-g434ab3e

and at the top of lustre/autoconf/lustre-version.m4 is the version that
will be used when building Lustre:

[adilger at cabot lustre-git]$ head lustre/autoconf/lustre-version.ac 
m4_define([LUSTRE_MAJOR],[2])
m4_define([LUSTRE_MINOR],[1])
m4_define([LUSTRE_PATCH],[0])
m4_define([LUSTRE_FIX],[0])


Cheers, Andreas
--
Andreas Dilger 
Principal Engineer
Whamcloud, Inc.






More information about the lustre-discuss mailing list