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