Whamcloud - gitweb
395a11510841b43e2709beb724ed1b91352b2386
[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 dmutag=""
9 hg_base_url="http://www.wizy.org/mercurial"
10
11 export LC_COLLATE=C
12
13 case "$lustretag" in
14     '')
15         warn "a lustretag is required."
16         usage >&2
17         exit 1
18         ;;
19     --help | -h)
20         usage
21         exit 0
22         ;;
23
24     # this is the branch table
25     # keep this list sorted alphabetically!
26
27     # Note these are "specials" -- branches using lnet HEAD don't need an
28     # entry here.
29
30     b1_2)
31         portalstag="b1_2"
32         lnettag=""
33         libsysiotag=""
34         snmptag=""
35         ;;
36
37     b1_4_atime_update)
38         portalstag="b_hd_newconfig"
39         ;;
40
41     b1_4_join)
42         portalstag="b_hd_newconfig"
43         ;;
44
45     b1_4_lfs_df)
46         portalstag="b_hd_newconfig"
47         ;;
48
49     b1_4_lov_lvb_cleanup)
50         portalstag="b_hd_newconfig"
51         ;;
52
53     b1_4_next_recovery_transno)
54         portalstag="b_hd_newconfig"
55         ;;
56
57     b1_8)
58         # b1_8 is an alias for HEAD.
59         lustretag="HEAD"
60         ldiskfstag="b1_8_iam"
61         ;;
62
63     b_cmd*)
64         portalstag="$lustretag"
65         ;;
66
67     b_iam*)
68         portalstag="b_hd_newconfig"
69         # XXX temorary tag until b_iam* is updated from b1_4 liblustre
70         libsysiotag="HEAD_RELEASE_1_4_6_LAND_PARENT_20060223_1455"
71         ;;
72
73     b_ioprovement)
74         portalstag="b_ioprovement"
75         ;;
76
77     b_mpilnd)
78         # lnet mpilnd development branch
79         lnettag="b_mpilnd"
80         lustretag="HEAD"
81         ;;
82
83     b_new_cmd)
84         portalstag="b_new_portals"
85         # lnettag="b_lnet_tmp"
86         ;;
87
88     b_newconfig_rdmarouting)
89         portalstag="b_hd_newconfig"
90         lnettag="b_newconfig_rdmarouting"
91         lustretag="b1_4"
92         ;;
93
94     b_port_ahead)
95         portalstag="b_port_ahead"
96         ;;
97
98     b_port_netid)
99         portalstag="b_port_netid"
100         ;;
101
102     # b_port_step is only for portals
103     b_port_step)
104         portalstag="b_port_step"
105         lustretag="HEAD"
106         ;;
107
108     b_port_test)
109         portalstag="b_port_test"
110         ;;
111
112     b_ptlrpc_cleanup)
113         portalstag="b_ptlrpc_cleanup"
114         ;;
115
116     b_ptl_smallfix)
117         portalstag="b_ptl_smallfix"
118         lustretag="b1_4"
119         ;;
120
121     # before 1_4_6, we didn't have lnet or snmp
122     b_release_1_2_*|b_release_1_4_[0-5])
123         portalstag="$lustretag"
124         lnettag=""
125         libsysiotag="$lustretag"
126         snmptag=""
127         ;;
128
129     b_release_1_4_6)
130         portalstag="$lustretag"
131         lnettag="$lustretag"
132         libsysiotag="$lustretag"
133         snmptag="$lustretag"
134         ;;
135
136     b_release_1_4_6-patchless)
137         portalstag=b_release_1_4_6
138         lnettag=b_release_1_4_6-patchless
139         libsysiotag=b_release_1_4_6
140         snmptag=b_release_1_4_6
141         ;;
142
143     # all later b_release_* tags
144     b_release_*)
145         lnettag="$lustretag"
146         libsysiotag="$lustretag"
147         snmptag="$lustretag"
148         ldiskfstag="$lustretag"
149         ;;
150
151     b_self_test)
152         # lnet self test development branch
153         lnettag="b_self_test"
154         lustretag="HEAD"
155         ;;
156
157     b_usocklnd)
158         # lnet usocklnd development branch
159         lnettag="b_usocklnd"
160         lustretag="b1_6_usocklnd"
161         ;;
162
163     b_uo2iblnd)
164         # lnet u-o2iblnd development branch
165         lnettag="b_uo2iblnd"
166         lustretag="HEAD"
167         ;;
168
169     b_ula)
170         # lnet "User Level Access" development branch
171         lnettag="b_ula"
172         lustretag="HEAD"
173         ldiskfstag="b1_8_iam"
174         ;;
175
176     # CMD3
177     HEAD|b_post_cmd3|b_HEAD_AT|b_new_cmd_sles10|b1_6_head_sync|b1_8_dir_ra|b_mixed_layout_req|b_mount_perm|b1_8_gns|b1_8_quota|b1_8_interop_server|b_som|b_head_capa)
178         # Update b1_8 above when changing this.
179         ldiskfstag="b1_8_iam"
180         ;;
181
182     #umds cleanup
183     b_hd_umds_cln2)
184         ldiskfstag="b1_8_iam_dynlock"
185         ;;
186
187     # uOSS
188     b_hd_dmu)
189         lnettag="b_uoss"
190         ldiskfstag="b1_8_iam"
191         dmutag="zfs-lustre"
192         ;;
193
194     # uOSS o2iblnd
195     b_uoss_o2iblnd)
196         lnettag="b_uoss_o2iblnd"
197         lustretag="b_hd_dmu"
198         ldiskfstag="b1_8_iam"
199         dmutag="zfs-lustre"
200         ;;
201
202     # client io stack cleanup
203     b_client_io_layering)
204         ldiskfstag="b1_8_iam"
205         ;;
206     
207     # windows client porting (lustre: b_client_io_layering, lnet: HEAD) 
208     b_winnt_port)
209         ldiskfstag="b1_8_iam"
210         lnettag="$lustretag"
211         ;;
212     
213     # v1.0-v1.3, v1.4.0-v1.4.2
214     v1_[0-3]_*|v1_4_[0-2]|v1_4_[0-2]_*)
215         portalstag="$lustretag"
216         lnettag=""
217         libsysiotag="$lustretag"
218         snmptag=""
219         ;;
220
221     # v1.4.3-v1.4.5, v1.4.5.1 - v1.4.5.9
222     v1_4_[3-5]|v1_4_[3-4]_*|v1_4_5_[1-9]|cray_2005*)
223         portalstag="$lustretag"
224         lnettag=""
225         libsysiotag="$lustretag"
226         snmptag="$lustretag"
227         ;;
228
229     # v1.4.6, v1.4.6.[1-91]
230     v1_4_6_[1-9]|v1_4_6_9[01])
231         portalstag="$lustretag"
232         lnettag=""
233         libsysiotag="$lustretag"
234         snmptag="$lustretag"
235         ;;
236
237     # all later v* tags
238     v[1-9]*)
239         lnettag="$lustretag"
240         libsysiotag="$lustretag"
241         snmptag="$lustretag"
242         ldiskfstag="$lustretag"
243         ;;
244 esac
245
246 cvs_cmd libsysio libsysio "$libsysiotag"
247 cvs_cmd portals portals "$portalstag"
248 cvs_cmd lnet lnet "$lnettag"
249 cvs_cmd snmp lustre-snmp "$snmptag"
250 cvs_cmd lustre lustre-core "$lustretag"
251 cvs_cmd ldiskfs ldiskfs "$ldiskfstag"
252 hg_cmd zfs-lustre "$hg_base_url" "$dmutag"
253
254 [ -a ldiskfs/build ] || ln -sf ../build ldiskfs/build