Whamcloud - gitweb
i=15968:
[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 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 b1_x 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     b_cmd*)
59         portalstag="$lustretag"
60         ;;
61
62     b_iam*)
63         portalstag="b_hd_newconfig"
64         # XXX temorary tag until b_iam* is updated from b1_4 liblustre
65         libsysiotag="HEAD_RELEASE_1_4_6_LAND_PARENT_20060223_1455"
66         ;;
67
68     b_ioprovement)
69         portalstag="b_ioprovement"
70         ;;
71
72     b_mpilnd)
73         # lnet mpilnd development branch
74         lnettag="b_mpilnd"
75         lustretag="HEAD"
76         ;;
77
78     b_new_cmd)
79         portalstag="b_new_portals"
80         # lnettag="b_lnet_tmp"
81         ;;
82
83     b_newconfig_rdmarouting)
84         portalstag="b_hd_newconfig"
85         lnettag="b_newconfig_rdmarouting"
86         lustretag="b1_4"
87         ;;
88
89     b_port_ahead)
90         portalstag="b_port_ahead"
91         ;;
92
93     b_port_netid)
94         portalstag="b_port_netid"
95         ;;
96
97     # b_port_step is only for portals
98     b_port_step)
99         portalstag="b_port_step"
100         lustretag="HEAD"
101         ;;
102
103     b_port_test)
104         portalstag="b_port_test"
105         ;;
106
107     b_ptlrpc_cleanup)
108         portalstag="b_ptlrpc_cleanup"
109         ;;
110
111     b_ptl_smallfix)
112         portalstag="b_ptl_smallfix"
113         lustretag="b1_4"
114         ;;
115
116     # before 1_4_6, we didn't have lnet or snmp
117     b_release_1_2_*|b_release_1_4_[0-5])
118         portalstag="$lustretag"
119         lnettag=""
120         libsysiotag="$lustretag"
121         snmptag=""
122         ;;
123
124     b_release_1_4_6)
125         portalstag="$lustretag"
126         lnettag="$lustretag"
127         libsysiotag="$lustretag"
128         snmptag="$lustretag"
129         ;;
130
131     b_release_1_4_6-patchless)
132         portalstag=b_release_1_4_6
133         lnettag=b_release_1_4_6-patchless
134         libsysiotag=b_release_1_4_6
135         snmptag=b_release_1_4_6
136         ;;
137
138     # all later b_release_* tags
139     b_release_*)
140         lnettag="$lustretag"
141         libsysiotag="$lustretag"
142         snmptag="$lustretag"
143         ldiskfstag="$lustretag"
144         ;;
145
146     b_self_test)
147         # lnet self test development branch
148         lnettag="b_self_test"
149         lustretag="HEAD"
150         ;;
151
152     b_usocklnd)
153         # lnet usocklnd development branch
154         lnettag="b_usocklnd"
155         lustretag="b1_6_usocklnd"
156         ;;
157
158     b_uo2iblnd)
159         # lnet u-o2iblnd development branch
160         lnettag="b_uo2iblnd"
161         lustretag="HEAD"
162         ;;
163
164     b_ula)
165         # lnet "User Level Access" development branch
166         lnettag="b_ula"
167         lustretag="HEAD"
168         ldiskfstag="b1_8_iam"
169         ;;
170
171     HEAD|b_HEAD_AT|b_head_capa|b_head_interop_disk)
172         lnettag="HEAD"
173         ldiskfstag="b1_8_iam"
174         ;;
175
176     # CMD3
177     b_post_cmd3|b_new_cmd_sles10|b1_6_head_sync|b_mixed_layout_req|b_mount_perm|b1_8_gns|b1_8_quota|b1_8_interop_server|b_som)
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     # uMDS
195     b_dmu_umds)
196         lnettag="b_uoss_umds"
197         ldiskfstag="b1_8_iam"
198         dmutag="zfs-lustre"
199         ;;
200
201     # uOSS o2iblnd
202     b_uoss_o2iblnd)
203         lnettag="b_uoss_o2iblnd"
204         lustretag="b_hd_dmu"
205         ldiskfstag="b1_8_iam"
206         dmutag="zfs-lustre"
207         ;;
208
209     # client io stack cleanup
210     b_client_io_layering)
211         ldiskfstag="b1_8_iam"
212         ;;
213     
214     # windows client porting (lustre: b_client_io_layering, lnet: HEAD) 
215     b_winnt_port)
216         ldiskfstag="b1_8_iam"
217         lnettag="$lustretag"
218         ;;
219     
220     # v1.0-v1.3, v1.4.0-v1.4.2
221     v1_[0-3]_*|v1_4_[0-2]|v1_4_[0-2]_*)
222         portalstag="$lustretag"
223         lnettag=""
224         libsysiotag="$lustretag"
225         snmptag=""
226         ;;
227
228     # v1.4.3-v1.4.5, v1.4.5.1 - v1.4.5.9
229     v1_4_[3-5]|v1_4_[3-4]_*|v1_4_5_[1-9]|cray_2005*)
230         portalstag="$lustretag"
231         lnettag=""
232         libsysiotag="$lustretag"
233         snmptag="$lustretag"
234         ;;
235
236     # v1.4.6, v1.4.6.[1-91]
237     v1_4_6_[1-9]|v1_4_6_9[01])
238         portalstag="$lustretag"
239         lnettag=""
240         libsysiotag="$lustretag"
241         snmptag="$lustretag"
242         ;;
243
244     # all later v* tags
245     v[1-9]*)
246         lnettag="$lustretag"
247         libsysiotag="$lustretag"
248         snmptag="$lustretag"
249         ldiskfstag="$lustretag"
250         ;;
251 esac
252
253 cvs_cmd libsysio libsysio "$libsysiotag"
254 cvs_cmd portals portals "$portalstag"
255 cvs_cmd lnet lnet "$lnettag"
256 cvs_cmd snmp lustre-snmp "$snmptag"
257 cvs_cmd lustre lustre-core "$lustretag"
258 cvs_cmd ldiskfs ldiskfs "$ldiskfstag"
259 cvs_cmd lustre-iokit lustre-iokit "$lustreiokittag"
260 hg_cmd zfs-lustre "$hg_base_url" "$dmutag"
261
262 [ -a ldiskfs/build ] || ln -sf ../build ldiskfs/build