Whamcloud - gitweb
b1_4-patchless lnet version requirements are same as for b1_4
[fs/lustre-release.git] / build / buildcvs
1 # This file is sourced by lustre/lustrecvs
2
3 portalstag="HEAD"
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         lnettag="b_hd_newconfig"
33         ;;
34
35     b1_4_join)
36         portalstag="b_hd_newconfig"
37         lnettag="b_hd_newconfig"
38         ;;
39
40     b1_4_lfs_df)
41         portalstag="b_hd_newconfig"
42         lnettag="b_hd_newconfig"
43         ;;
44
45     b1_4_lov_lvb_cleanup)
46         portalstag="b_hd_newconfig"
47         lnettag="b_hd_newconfig"
48         ;;
49
50     b1_4_next_recovery_transno)
51         portalstag="b_hd_newconfig"
52         lnettag="b_hd_newconfig"
53         ;;
54
55     b1_4 | b1_4-patchless | b1_4_*)
56         portalstag="b_hd_newconfig"
57         lnettag="b_hd_newconfig"
58         ;;
59
60     b_new_cmd)
61         portalstag="b_hd_newconfig"
62         lnettag="b_hd_newconfig"
63         ;;
64
65     b1_5 | b1_5_*)
66         portalstag="b_hd_newconfig"
67         lnettag="b_hd_newconfig"
68         ;;
69
70     b_cmd*)
71         portalstag="$lustretag"
72         ;;
73
74     b_iam*)
75         portalstag="b_hd_newconfig"
76         lnettag="b_hd_newconfig"
77         # XXX temorary tag until b_iam* is updated from b1_4 liblustre
78         libsysiotag="HEAD_RELEASE_1_4_6_LAND_PARENT_20060223_1455"
79         ;;
80
81     b_ioprovement)
82         portalstag="b_ioprovement"
83         ;;
84
85     b_newconfig_rdmarouting)
86         portalstag="b_hd_newconfig"
87         lnettag="b_newconfig_rdmarouting"
88         lustretag="b1_4"
89         ;;
90
91     b_port_ahead)
92         portalstag="b_port_ahead"
93         ;;
94
95     b_port_netid)
96         portalstag="b_port_netid"
97         ;;
98
99     # b_port_step is only for portals
100     b_port_step)
101         portalstag="b_port_step"
102         lustretag="HEAD"
103         ;;
104
105     b_port_test)
106         portalstag="b_port_test"
107         ;;
108
109     b_ptl_smallfix)
110         portalstag="b_ptl_smallfix"
111         lustretag="b1_4"
112         ;;
113
114     b_ptlrpc_cleanup)
115         portalstag="b_ptlrpc_cleanup"
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     # all later b_release_* tags
134     b_release_*)
135         portalstag="$lustretag"
136         lnettag="$lustretag"
137         libsysiotag="$lustretag"
138         snmptag="$lustretag"
139         ;;
140
141     # v1.0-v1.3, v1.4.0-v1.4.2
142     v1_[0-3]_*|v1_4_[0-2]|v1_4_[0-2]_*)
143         portalstag="$lustretag"
144         lnettag=""
145         libsysiotag="$lustretag"
146         snmptag=""
147         ;;
148
149     # v1.4.3-v1.4.5, v1.4.5.1 - v1.4.5.9
150     v1_4_[3-5]|v1_4_[3-4]_*|v1_4_5_[1-9]|cray_2005*)
151         portalstag="$lustretag"
152         lnettag=""
153         libsysiotag="$lustretag"
154         snmptag="$lustretag"
155         ;;
156
157     # all later v* tags
158     v[1-9]*)
159         portalstag="$lustretag"
160         lnettag="$lustretag"
161         libsysiotag="$lustretag"
162         snmptag="$lustretag"
163         ;;
164 esac
165
166 cvs_cmd libsysio libsysio "$libsysiotag"
167 cvs_cmd portals portals "$portalstag"
168 cvs_cmd lnet lnet "$lnettag"
169 cvs_cmd snmp lustre-snmp "$snmptag"
170 cvs_cmd lustre lustre-core "$lustretag"