Whamcloud - gitweb
wait queue primitives implementation using pthread API
[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     b_new_cmd)
61         portalstag="b_new_portals"
62         # lnettag="b_lnet_tmp"
63         ;;
64
65     b_cmd*)
66         portalstag="$lustretag"
67         ;;
68
69     b_iam*)
70         portalstag="b_hd_newconfig"
71         # XXX temorary tag until b_iam* is updated from b1_4 liblustre
72         libsysiotag="HEAD_RELEASE_1_4_6_LAND_PARENT_20060223_1455"
73         ;;
74
75     b_ioprovement)
76         portalstag="b_ioprovement"
77         ;;
78
79     b_newconfig_rdmarouting)
80         portalstag="b_hd_newconfig"
81         lnettag="b_newconfig_rdmarouting"
82         lustretag="b1_4"
83         ;;
84
85     b_port_ahead)
86         portalstag="b_port_ahead"
87         ;;
88
89     b_port_netid)
90         portalstag="b_port_netid"
91         ;;
92
93     # b_port_step is only for portals
94     b_port_step)
95         portalstag="b_port_step"
96         lustretag="HEAD"
97         ;;
98
99     b_port_test)
100         portalstag="b_port_test"
101         ;;
102
103     b_ptl_smallfix)
104         portalstag="b_ptl_smallfix"
105         lustretag="b1_4"
106         ;;
107
108     b_ptlrpc_cleanup)
109         portalstag="b_ptlrpc_cleanup"
110         ;;
111
112     b_self_test)
113         # lnet self test development branch
114         lnettag="b_self_test"
115         lustretag="HEAD"
116         ;;
117
118     # before 1_4_6, we didn't have lnet or snmp
119     b_release_1_2_*|b_release_1_4_[0-5])
120         portalstag="$lustretag"
121         lnettag=""
122         libsysiotag="$lustretag"
123         snmptag=""
124         ;;
125
126     b_release_1_4_6-patchless)
127         portalstag=b_release_1_4_6
128         lnettag=b_release_1_4_6-patchless
129         libsysiotag=b_release_1_4_6
130         snmptag=b_release_1_4_6
131         ;;
132
133     b_release_1_4_6)
134         portalstag="$lustretag"
135         lnettag="$lustretag"
136         libsysiotag="$lustretag"
137         snmptag="$lustretag"
138         ;;
139
140     # all later b_release_* tags
141     b_release_*)
142         lnettag="$lustretag"
143         libsysiotag="$lustretag"
144         snmptag="$lustretag"
145         ;;
146
147     # uOSS
148     b_uoss)
149         lnettag="b_uoss"
150         ;;
151
152     # v1.0-v1.3, v1.4.0-v1.4.2
153     v1_[0-3]_*|v1_4_[0-2]|v1_4_[0-2]_*)
154         portalstag="$lustretag"
155         lnettag=""
156         libsysiotag="$lustretag"
157         snmptag=""
158         ;;
159
160     # v1.4.3-v1.4.5, v1.4.5.1 - v1.4.5.9
161     v1_4_[3-5]|v1_4_[3-4]_*|v1_4_5_[1-9]|cray_2005*)
162         portalstag="$lustretag"
163         lnettag=""
164         libsysiotag="$lustretag"
165         snmptag="$lustretag"
166         ;;
167
168     # v1.4.6, v1.4.6.[1-91]
169     v1_4_6_[1-9]|v1_4_6_9[01])
170         portalstag="$lustretag"
171         lnettag=""
172         libsysiotag="$lustretag"
173         snmptag="$lustretag"
174         ;;
175
176     # all later v* tags
177     v[1-9]*)
178         lnettag="$lustretag"
179         libsysiotag="$lustretag"
180         snmptag="$lustretag"
181         ;;
182 esac
183
184 cvs_cmd libsysio libsysio "$libsysiotag"
185 cvs_cmd portals portals "$portalstag"
186 cvs_cmd lnet lnet "$lnettag"
187 cvs_cmd snmp lustre-snmp "$snmptag"
188 cvs_cmd lustre lustre-core "$lustretag"