Whamcloud - gitweb
Branch b1_8
[fs/lustre-release.git] / build / buildcvs
1 # This file is sourced by lustre/lustrecvs
2
3 portalstag=""
4 lnettag="b1_x"
5 libsysiotag="HEAD"
6 snmptag="HEAD"
7 ldiskfstag="HEAD"
8 ldiskfstag_head="b1_8_iam"
9 lustreiokittag="HEAD"
10 libcfstag="b1_x"
11 dmutag=""
12 hg_base_url="http://www.wizy.org/mercurial"
13
14 export LC_COLLATE=C
15
16 case "$lustretag" in
17     '')
18         warn "a lustretag is required."
19         usage >&2
20         exit 1
21         ;;
22     --help | -h)
23         usage
24         exit 0
25         ;;
26
27     # this is the branch table
28     # keep this list sorted alphabetically!
29
30     # Note these are "specials" -- branches using lnet b1_x don't need an
31     # entry here.
32
33     b1_2)
34         portalstag="b1_2"
35         lnettag=""
36         libsysiotag=""
37         snmptag=""
38         ;;
39
40     b1_4_atime_update)
41         portalstag="b_hd_newconfig"
42         ;;
43
44     b1_4_join)
45         portalstag="b_hd_newconfig"
46         ;;
47
48     b1_4_lfs_df)
49         portalstag="b_hd_newconfig"
50         ;;
51
52     b1_4_lov_lvb_cleanup)
53         portalstag="b_hd_newconfig"
54         ;;
55
56     b1_4_next_recovery_transno)
57         portalstag="b_hd_newconfig"
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_mpilnd)
75         # lnet mpilnd development branch
76         lnettag="b_mpilnd"
77         lustretag="HEAD"
78         ;;
79
80     b_new_cmd)
81         portalstag="b_new_portals"
82         # lnettag="b_lnet_tmp"
83         ;;
84
85     b_newconfig_rdmarouting)
86         portalstag="b_hd_newconfig"
87         lnettag="b_newconfig_rdmarouting"
88         lustretag="b1_4"
89         ;;
90
91     b_port_ahead)
92         portalstag="b_port_ahead"
93         ;;
94
95     b_port_netid)
96         portalstag="b_port_netid"
97         ;;
98
99     # b_port_step is only for portals
100     b_port_step)
101         portalstag="b_port_step"
102         lustretag="HEAD"
103         ;;
104
105     b_port_test)
106         portalstag="b_port_test"
107         ;;
108
109     b_ptlrpc_cleanup)
110         portalstag="b_ptlrpc_cleanup"
111         ;;
112
113     b_ptl_smallfix)
114         portalstag="b_ptl_smallfix"
115         lustretag="b1_4"
116         ;;
117
118     # before 1_4_6, we didn't have lnet or snmp
119     b_release_1_2_*|b_release_1_4_[0-5])
120         portalstag="$lustretag"
121         lnettag=""
122         libsysiotag="$lustretag"
123         snmptag=""
124         ;;
125
126     b_release_1_4_6)
127         portalstag="$lustretag"
128         lnettag="$lustretag"
129         libsysiotag="$lustretag"
130         snmptag="$lustretag"
131         ;;
132
133     b_release_1_4_6-patchless)
134         portalstag=b_release_1_4_6
135         lnettag=b_release_1_4_6-patchless
136         libsysiotag=b_release_1_4_6
137         snmptag=b_release_1_4_6
138         ;;
139
140     # all later b_release_* tags
141     b_release_*)
142         lnettag="$lustretag"
143         libsysiotag="$lustretag"
144         snmptag="$lustretag"
145         ldiskfstag="$lustretag"
146         ;;
147
148     b_self_test)
149         # lnet self test development branch
150         lnettag="b_self_test"
151         lustretag="HEAD"
152         ;;
153
154     b_usocklnd)
155         # lnet usocklnd development branch
156         lnettag="b_usocklnd"
157         lustretag="b1_6_usocklnd"
158         ;;
159
160     b_uo2iblnd)
161         # lnet u-o2iblnd development branch
162         lnettag="b_uo2iblnd"
163         lustretag="HEAD"
164         ;;
165
166     b_hd_lnet_smp)
167         # LNet grained locking and SMP improvement branch
168         lnettag="b_hd_lnet_smp"
169         ldiskfstag="lnet_smp_ldiskfs"
170         lustretag="lnet_smp_lustre"
171         libcfstag="lnet_smp_libcfs"
172         ;;
173
174     b_hd_lnet_perf)
175         # Tag for lnet performance tests
176         lnettag="HEAD"
177         ldiskfstag="lnet_smp_ldiskfs"
178         lustretag="lnet_smp_lustre"
179         libcfstag="lnet_smp_libcfs"
180         ;;
181
182     b_hd_o2ib_new_proto)
183         # LNet branch for new o2iblnd protocol (15983, 13621, 14425, 14358)
184         lnettag="b_hd_o2ib_new_proto"
185         ldiskfstag="$ldiskfstag_head"
186         lustretag="HEAD"
187         libcfstag="HEAD"
188         ;;
189
190     b_ula)
191         # lnet "User Level Access" development branch
192         lnettag="b_ula"
193         lustretag="HEAD"
194         ldiskfstag="$ldiskfstag_head"
195         ;;
196
197     # CMD3
198     b_post_cmd3|b_new_cmd_sles10|b1_6_head_sync|b_mixed_layout_req|b_mount_perm|b1_8_gns|b1_8_interop_server)
199         # Update b1_8 above when changing this.
200         ldiskfstag="$ldiskfstag_head"
201         ;;
202
203     #umds cleanup
204     b_hd_umds_cln2)
205         ldiskfstag="b1_8_iam_dynlock"
206         ;;
207
208     # uOSS
209     b_hd_dmu)
210         lnettag="b_uoss"
211         ldiskfstag="$ldiskfstag_head"
212         dmutag="zfs-lustre"
213         ;;
214
215     # read-only cache for oss
216     b_hd_rocache_oss)
217         lnettag="HEAD"
218         ldiskfstag="b1_8_iam"
219         libcfstag="HEAD"
220         ;;
221  
222     # vector read/write 
223     b_hd_readx)
224         lnettag="HEAD"
225         ldiskfstag="$ldiskfstag_head"
226         libcfstag="HEAD"
227         ;;
228    
229     # params_tree 
230     b_hd_params_tree)
231         lnettag="b_hd_params_tree"
232         ldiskfstag="$ldiskfstag_head"
233         libcfstag="b_hd_params_tree"
234         lustretag="b_hd_params_tree"
235         ;;
236   
237     # Network request scheduler
238     b_hd_nrs)
239         lnettag="HEAD"
240         ldiskfstag="$ldiskfstag_head"
241         libcfstag="HEAD"
242         ;;
243  
244     # uMDS
245     b_dmu_umds)
246         lnettag="b_uoss_umds"
247         ldiskfstag="$ldiskfstag_head"
248         dmutag="zfs-lustre"
249         ;;
250
251     # uOSS o2iblnd
252     b_uoss_o2iblnd)
253         lnettag="b_uoss_o2iblnd"
254         lustretag="b_hd_dmu"
255         ldiskfstag="$ldiskfstag_head"
256         dmutag="zfs-lustre"
257         ;;
258
259     # client io stack cleanup
260     b_client_io_layering)
261         lnettag="HEAD"
262         ldiskfstag="$ldiskfstag_head"
263         libcfstag="HEAD"
264         ;;
265     
266     # HEAD cmd fixes
267     b_head_cmd)
268         lnettag="HEAD"
269         ldiskfstag="$ldiskfstag_head"
270         libcfstag="HEAD"
271         ;;
272     
273     # windows client porting (lustre: b_client_io_layering, lnet: HEAD) 
274     b_winnt_port)
275         ldiskfstag="$ldiskfstag_head"
276         lnettag="b_winnt_port"
277         libcfstag="b_winnt_port"
278         ;;
279     
280     # v1.0-v1.3, v1.4.0-v1.4.2
281     v1_[0-3]_*|v1_4_[0-2]|v1_4_[0-2]_*)
282         portalstag="$lustretag"
283         lnettag=""
284         libsysiotag="$lustretag"
285         snmptag=""
286         ;;
287
288     # v1.4.3-v1.4.5, v1.4.5.1 - v1.4.5.9
289     v1_4_[3-5]|v1_4_[3-4]_*|v1_4_5_[1-9]|cray_2005*)
290         portalstag="$lustretag"
291         lnettag=""
292         libsysiotag="$lustretag"
293         snmptag="$lustretag"
294         ;;
295
296     # v1.4.6, v1.4.6.[1-91]
297     v1_4_6_[1-9]|v1_4_6_9[01])
298         portalstag="$lustretag"
299         lnettag=""
300         libsysiotag="$lustretag"
301         snmptag="$lustretag"
302         ;;
303
304     # Interoperability server side changes
305     b_head_interop_disk)
306         lnettag="HEAD"
307         ldiskfstag="b_ldiskfs_interop_server"
308         libcfstag="HEAD"
309         ;;
310
311     # Branches that have been updated to include
312     # the libcfs split should be added here
313     HEAD|b_head_quota|b_hd_cfld|b_hd_changelog|b_hd_sptlrpc|HD_SPTLRPC_BASE|b_som|b_hd_kdmu|b_hd_recov|b_hd_transapi)
314         lnettag="HEAD"
315         ldiskfstag="$ldiskfstag_head"
316         libcfstag="HEAD"
317         ;;
318
319     b_head_libcfs)
320         lnettag="b_head_libcfs"
321         ldiskfstag="$ldiskfstag_head"
322         libcfstag="b_head_libcfs"
323         ;;
324
325     b_head_procfs)
326         lnettag="HEAD"
327         ldiskfstag="$ldiskfstag_head"
328         libcfstag="b_head_procfs"
329         ;;
330
331     b2_0-bld*)
332         lnettag="$lustretag"
333         ldiskfstag="$ldiskfstag_head"
334         libcfstag="$lustretag"
335         ;;
336
337     # all later v* tags
338     v[1-9]*)
339         lnettag="$lustretag"
340         libsysiotag="$lustretag"
341         snmptag="$lustretag"
342         ldiskfstag="$lustretag"
343         libcfstag="$lustretag"
344         ;;
345
346     b_HEAD_*|b_head_*|b_hd_*)
347         lnettag="HEAD"
348         ldiskfstag="$ldiskfstag_head"
349         libcfstag="HEAD"
350         ;;
351 esac
352
353 cvs_cmd libsysio libsysio "$libsysiotag"
354 cvs_cmd portals portals "$portalstag"
355 cvs_cmd lnet lnet "$lnettag"
356 cvs_cmd snmp lustre-snmp "$snmptag"
357 cvs_cmd lustre lustre-core "$lustretag"
358 cvs_cmd ldiskfs ldiskfs "$ldiskfstag"
359 cvs_cmd lustre-iokit lustre-iokit "$lustreiokittag"
360 hg_cmd lustre/zfs-lustre "$hg_base_url" "$dmutag"
361 cvs_cmd libcfs libcfs "$libcfstag"
362
363 [ -a ldiskfs/build ] || ln -sf ../build ldiskfs/build