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