Whamcloud - gitweb
b1_4_rhel4_22 has been re-parented to b_release_1_4_6 so it should use the
[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=""
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         ;;
26
27     b1_4_rhel4_22)
28         snmptag="HEAD"
29         portalstag="b_release_1_4_6"
30         lnettag="b_release_1_4_6"
31         ;;
32
33     b1_4 | b1_4_*)
34         snmptag="HEAD"
35         portalstag="b_hd_newconfig"
36         lnettag="b_hd_newconfig"
37         ;;
38
39     b_cmd*)
40         portalstag="$lustretag"
41         ;;
42
43     b_ioprovement)
44         portalstag=b_ioprovement
45         ;;
46
47     b_newconfig_rdmarouting)
48         portalstag="b_hd_newconfig"
49         lnettag="b_newconfig_rdmarouting"
50         lustretag="b1_4"
51         ;;
52
53     b_port_ahead)
54         portalstag="b_port_ahead"
55         ;;
56
57     b_port_netid)
58         portalstag="b_port_netid"
59         ;;
60
61     # b_port_step is only for portals
62     b_port_step)
63         portalstag="b_port_step"
64         lustretag="HEAD"
65         ;;
66
67     b_port_test)
68         portalstag="b_port_test"
69         ;;
70
71     b_ptl_smallfix)
72         portalstag="b_ptl_smallfix"
73         lustretag="b1_4"
74         ;;
75
76     b_ptlrpc_cleanup)
77         portalstag="b_ptlrpc_cleanup"
78         ;;
79
80     b_release_*)
81         portalstag=$lustretag
82         ;;
83
84     # v1.0-v1.3, v1.4.0-v1.4.2
85     v1_[0-3]_*|v1_4_[0-2]*)
86         portalstag="$lustretag"
87         ;;
88
89     # v1.4.3-v1.4.5, v1.4.5.1 - v1.4.5.9
90     v1_4_[3-5]|v1_4_[3-4]_*|v1_4_5_[1-9]|cray_2005*)
91         portalstag="$lustretag"
92         libsysiotag="$lustretag"
93         ;;
94
95     # all later v* tags
96     v[1-9]*)
97         portalstag="$lustretag"
98         lnettag="$lustretag"
99         libsysiotag="$lustretag"
100         ;;
101 esac
102
103 cvs_cmd libsysio libsysio "$libsysiotag"
104 cvs_cmd portals portals "$portalstag"
105 cvs_cmd lnet lnet "$lnettag"
106 cvs_cmd snmp lustre-snmp "$snmptag"
107 cvs_cmd lustre lustre-core "$lustretag"