Whamcloud - gitweb
ebc5d79c02c5cd7a7cb1ad8430d46a5d09b3d9d7
[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     # CMD3
172     HEAD|b_post_cmd3|b_HEAD_AT|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|b_head_capa|b_head_interop_disk)
173         # Update b1_8 above when changing this.
174         ldiskfstag="b1_8_iam"
175         ;;
176
177     #umds cleanup
178     b_hd_umds_cln2)
179         ldiskfstag="b1_8_iam_dynlock"
180         ;;
181
182     # uOSS
183     b_hd_dmu)
184         lnettag="b_uoss"
185         ldiskfstag="b1_8_iam"
186         dmutag="zfs-lustre"
187         ;;
188
189     # uMDS
190     b_dmu_umds)
191         lnettag="b_uoss_umds"
192         ldiskfstag="b1_8_iam"
193         dmutag="zfs-lustre"
194         ;;
195
196     # uOSS o2iblnd
197     b_uoss_o2iblnd)
198         lnettag="b_uoss_o2iblnd"
199         lustretag="b_hd_dmu"
200         ldiskfstag="b1_8_iam"
201         dmutag="zfs-lustre"
202         ;;
203
204     # client io stack cleanup
205     b_client_io_layering)
206         ldiskfstag="b1_8_iam"
207         ;;
208     
209     # windows client porting (lustre: b_client_io_layering, lnet: HEAD) 
210     b_winnt_port)
211         ldiskfstag="b1_8_iam"
212         lnettag="$lustretag"
213         ;;
214     
215     # v1.0-v1.3, v1.4.0-v1.4.2
216     v1_[0-3]_*|v1_4_[0-2]|v1_4_[0-2]_*)
217         portalstag="$lustretag"
218         lnettag=""
219         libsysiotag="$lustretag"
220         snmptag=""
221         ;;
222
223     # v1.4.3-v1.4.5, v1.4.5.1 - v1.4.5.9
224     v1_4_[3-5]|v1_4_[3-4]_*|v1_4_5_[1-9]|cray_2005*)
225         portalstag="$lustretag"
226         lnettag=""
227         libsysiotag="$lustretag"
228         snmptag="$lustretag"
229         ;;
230
231     # v1.4.6, v1.4.6.[1-91]
232     v1_4_6_[1-9]|v1_4_6_9[01])
233         portalstag="$lustretag"
234         lnettag=""
235         libsysiotag="$lustretag"
236         snmptag="$lustretag"
237         ;;
238
239     # all later v* tags
240     v[1-9]*)
241         lnettag="$lustretag"
242         libsysiotag="$lustretag"
243         snmptag="$lustretag"
244         ldiskfstag="$lustretag"
245         ;;
246 esac
247
248 cvs_cmd libsysio libsysio "$libsysiotag"
249 cvs_cmd portals portals "$portalstag"
250 cvs_cmd lnet lnet "$lnettag"
251 cvs_cmd snmp lustre-snmp "$snmptag"
252 cvs_cmd lustre lustre-core "$lustretag"
253 cvs_cmd ldiskfs ldiskfs "$ldiskfstag"
254 cvs_cmd lustre-iokit lustre-iokit "$lustreiokittag"
255 hg_cmd zfs-lustre "$hg_base_url" "$dmutag"
256
257 [ -a ldiskfs/build ] || ln -sf ../build ldiskfs/build