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