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