Whamcloud - gitweb
- use special ldiskfs branch for b_post_cmd3
[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     # CMD3
148     b_post_cmd3)
149         ldiskfstag="b1_8_iam"
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"
189 cvs_cmd ldiskfs ldiskfs "$ldiskfstag"
190
191 [ -a ldiskfs/build ] || ln -sf ../build ldiskfs/build