Whamcloud - gitweb
- support "lustrecvs b_mpilnd" to check out the lnet mpilnd development branch.
[fs/lustre-release.git] / build / buildcvs
1 # This file is sourced by lustre/lustrecvs
2
3 portalstag=""
4 lnettag="HEAD"
5 libsysiotag="HEAD"
6 snmptag="HEAD"
7 ldiskfstag="HEAD"
8
9 export LC_COLLATE=C
10
11 case "$lustretag" in
12     '')
13         warn "a lustretag is required."
14         usage >&2
15         exit 1
16         ;;
17     --help | -h)
18         usage
19         exit 0
20         ;;
21
22     # this is the branch table
23     # keep this list sorted alphabetically!
24
25     # Note these are "specials" -- branches using lnet HEAD don't need an
26     # entry here.
27
28     b1_2)
29         portalstag="b1_2"
30         lnettag=""
31         libsysiotag=""
32         snmptag=""
33         ;;
34
35     b1_4_atime_update)
36         portalstag="b_hd_newconfig"
37         ;;
38
39     b1_4_join)
40         portalstag="b_hd_newconfig"
41         ;;
42
43     b1_4_lfs_df)
44         portalstag="b_hd_newconfig"
45         ;;
46
47     b1_4_lov_lvb_cleanup)
48         portalstag="b_hd_newconfig"
49         ;;
50
51     b1_4_next_recovery_transno)
52         portalstag="b_hd_newconfig"
53         ;;
54
55     b_new_cmd)
56         portalstag="b_new_portals"
57         # lnettag="b_lnet_tmp"
58         ;;
59
60     b_cmd*)
61         portalstag="$lustretag"
62         ;;
63
64     b_iam*)
65         portalstag="b_hd_newconfig"
66         # XXX temorary tag until b_iam* is updated from b1_4 liblustre
67         libsysiotag="HEAD_RELEASE_1_4_6_LAND_PARENT_20060223_1455"
68         ;;
69
70     b_ioprovement)
71         portalstag="b_ioprovement"
72         ;;
73
74     b_newconfig_rdmarouting)
75         portalstag="b_hd_newconfig"
76         lnettag="b_newconfig_rdmarouting"
77         lustretag="b1_4"
78         ;;
79
80     b_port_ahead)
81         portalstag="b_port_ahead"
82         ;;
83
84     b_port_netid)
85         portalstag="b_port_netid"
86         ;;
87
88     # b_port_step is only for portals
89     b_port_step)
90         portalstag="b_port_step"
91         lustretag="HEAD"
92         ;;
93
94     b_port_test)
95         portalstag="b_port_test"
96         ;;
97
98     b_ptl_smallfix)
99         portalstag="b_ptl_smallfix"
100         lustretag="b1_4"
101         ;;
102
103     b_ptlrpc_cleanup)
104         portalstag="b_ptlrpc_cleanup"
105         ;;
106
107     b_self_test)
108         # lnet self test development branch
109         lnettag="b_self_test"
110         lustretag="HEAD"
111         ;;
112
113     b_mpilnd)
114         # lnet mpilnd development branch
115         lnettag="b_mpilnd"
116         lustretag="HEAD"
117         ;;
118
119     # before 1_4_6, we didn't have lnet or snmp
120     b_release_1_2_*|b_release_1_4_[0-5])
121         portalstag="$lustretag"
122         lnettag=""
123         libsysiotag="$lustretag"
124         snmptag=""
125         ;;
126
127     b_release_1_4_6-patchless)
128         portalstag=b_release_1_4_6
129         lnettag=b_release_1_4_6-patchless
130         libsysiotag=b_release_1_4_6
131         snmptag=b_release_1_4_6
132         ;;
133
134     b_release_1_4_6)
135         portalstag="$lustretag"
136         lnettag="$lustretag"
137         libsysiotag="$lustretag"
138         snmptag="$lustretag"
139         ;;
140
141     # all later b_release_* tags
142     b_release_*)
143         lnettag="$lustretag"
144         libsysiotag="$lustretag"
145         snmptag="$lustretag"
146         ;;
147
148     # uOSS
149     b_uoss)
150         lnettag="b_uoss"
151         ;;
152     
153     # CMD3
154     b_post_cmd3)
155         ldiskfstag="b1_8_iam"
156         ;;
157
158     # v1.0-v1.3, v1.4.0-v1.4.2
159     v1_[0-3]_*|v1_4_[0-2]|v1_4_[0-2]_*)
160         portalstag="$lustretag"
161         lnettag=""
162         libsysiotag="$lustretag"
163         snmptag=""
164         ;;
165
166     # v1.4.3-v1.4.5, v1.4.5.1 - v1.4.5.9
167     v1_4_[3-5]|v1_4_[3-4]_*|v1_4_5_[1-9]|cray_2005*)
168         portalstag="$lustretag"
169         lnettag=""
170         libsysiotag="$lustretag"
171         snmptag="$lustretag"
172         ;;
173
174     # v1.4.6, v1.4.6.[1-91]
175     v1_4_6_[1-9]|v1_4_6_9[01])
176         portalstag="$lustretag"
177         lnettag=""
178         libsysiotag="$lustretag"
179         snmptag="$lustretag"
180         ;;
181
182     # all later v* tags
183     v[1-9]*)
184         lnettag="$lustretag"
185         libsysiotag="$lustretag"
186         snmptag="$lustretag"
187         ;;
188 esac
189
190 cvs_cmd libsysio libsysio "$libsysiotag"
191 cvs_cmd portals portals "$portalstag"
192 cvs_cmd lnet lnet "$lnettag"
193 cvs_cmd snmp lustre-snmp "$snmptag"
194 cvs_cmd lustre lustre-core "$lustretag"
195 cvs_cmd ldiskfs ldiskfs "$ldiskfstag"
196
197 [ -a ldiskfs/build ] || ln -sf ../build ldiskfs/build