Whamcloud - gitweb
Temporary fix for new lnet (from HEAD) test on orion.
[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
8 export LC_COLLATE=C
9
10 case "$lustretag" in
11     '')
12         warn "a lustretag is required."
13         usage >&2
14         exit 1
15         ;;
16     --help | -h)
17         usage
18         exit 0
19         ;;
20
21     # this is the branch table
22     # keep this list sorted alphabetically!
23     b1_2)
24         portalstag="b1_2"
25         lnettag=""
26         libsysiotag=""
27         snmptag=""
28         ;;
29
30     b1_4_atime_update)
31         portalstag="b_hd_newconfig"
32         ;;
33
34     b1_4_join)
35         portalstag="b_hd_newconfig"
36         ;;
37
38     b1_4_lfs_df)
39         portalstag="b_hd_newconfig"
40         ;;
41
42     b1_4_lov_lvb_cleanup)
43         portalstag="b_hd_newconfig"
44         ;;
45
46     b1_4_next_recovery_transno)
47         portalstag="b_hd_newconfig"
48         ;;
49
50     b1_5)
51         # Alias for HEAD
52         lustretag="HEAD"
53         ;;
54
55     b1_6)
56         # Alias for HEAD
57         lustretag="HEAD"
58         ;;
59
60     b1_8)
61         lnettag="b_hd_newconfig"
62         ;;
63
64     b_new_cmd)
65         portalstag="b_new_portals"
66         # lnettag="b_lnet_tmp"
67         ;;
68
69     b_cmd*)
70         portalstag="$lustretag"
71         ;;
72
73     b_iam*)
74         portalstag="b_hd_newconfig"
75         # XXX temorary tag until b_iam* is updated from b1_4 liblustre
76         libsysiotag="HEAD_RELEASE_1_4_6_LAND_PARENT_20060223_1455"
77         ;;
78
79     b_ioprovement)
80         portalstag="b_ioprovement"
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_ptl_smallfix)
108         portalstag="b_ptl_smallfix"
109         lustretag="b1_4"
110         ;;
111
112     b_ptlrpc_cleanup)
113         portalstag="b_ptlrpc_cleanup"
114         ;;
115
116     b_self_test)
117         # lnet self test development branch
118         lnettag="b_self_test"
119         lustretag="HEAD"
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-patchless)
131         portalstag=b_release_1_4_6
132         lnettag=b_release_1_4_6-patchless
133         libsysiotag=b_release_1_4_6
134         snmptag=b_release_1_4_6
135         ;;
136
137     b_release_1_4_6)
138         portalstag="$lustretag"
139         lnettag="$lustretag"
140         libsysiotag="$lustretag"
141         snmptag="$lustretag"
142         ;;
143
144     # all later b_release_* tags
145     b_release_*)
146         lnettag="$lustretag"
147         libsysiotag="$lustretag"
148         snmptag="$lustretag"
149         ;;
150
151     # v1.0-v1.3, v1.4.0-v1.4.2
152     v1_[0-3]_*|v1_4_[0-2]|v1_4_[0-2]_*)
153         portalstag="$lustretag"
154         lnettag=""
155         libsysiotag="$lustretag"
156         snmptag=""
157         ;;
158
159     # v1.4.3-v1.4.5, v1.4.5.1 - v1.4.5.9
160     v1_4_[3-5]|v1_4_[3-4]_*|v1_4_5_[1-9]|cray_2005*)
161         portalstag="$lustretag"
162         lnettag=""
163         libsysiotag="$lustretag"
164         snmptag="$lustretag"
165         ;;
166
167     # v1.4.6, v1.4.6.[1-91]
168     v1_4_6_[1-9]|v1_4_6_9[01])
169         portalstag="$lustretag"
170         lnettag=""
171         libsysiotag="$lustretag"
172         snmptag="$lustretag"
173         ;;
174
175     # all later v* tags
176     v[1-9]*)
177         lnettag="$lustretag"
178         libsysiotag="$lustretag"
179         snmptag="$lustretag"
180         ;;
181 esac
182
183 cvs_cmd libsysio libsysio "$libsysiotag"
184 cvs_cmd portals portals "$portalstag"
185 cvs_cmd lnet lnet "$lnettag"
186 cvs_cmd snmp lustre-snmp "$snmptag"
187 cvs_cmd lustre lustre-core "$lustretag"