Whamcloud - gitweb
test commit
[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     b1_4_join)
40         snmptag="HEAD"
41         portalstag="b_hd_newconfig"
42         lnettag="b_hd_newconfig"
43         ;;
44
45     b1_5 | b1_5_*)
46         snmptag="HEAD"
47         portalstag="b_hd_newconfig"
48         lnettag="b_hd_newconfig"
49         ;;
50
51     b_cmd*)
52         portalstag="$lustretag"
53         ;;
54
55     b_ioprovement)
56         portalstag=b_ioprovement
57         ;;
58
59     b_newconfig_rdmarouting)
60         portalstag="b_hd_newconfig"
61         lnettag="b_newconfig_rdmarouting"
62         lustretag="b1_4"
63         ;;
64
65     b_port_ahead)
66         portalstag="b_port_ahead"
67         ;;
68
69     b_port_netid)
70         portalstag="b_port_netid"
71         ;;
72
73     # b_port_step is only for portals
74     b_port_step)
75         portalstag="b_port_step"
76         lustretag="HEAD"
77         ;;
78
79     b_port_test)
80         portalstag="b_port_test"
81         ;;
82
83     b_ptl_smallfix)
84         portalstag="b_ptl_smallfix"
85         lustretag="b1_4"
86         ;;
87
88     b_ptlrpc_cleanup)
89         portalstag="b_ptlrpc_cleanup"
90         ;;
91
92     b_release_*)
93         portalstag=$lustretag
94         ;;
95
96     # v1.0-v1.3, v1.4.0-v1.4.2
97     v1_[0-3]_*|v1_4_[0-2]*)
98         portalstag="$lustretag"
99         ;;
100
101     # v1.4.3-v1.4.5, v1.4.5.1 - v1.4.5.9
102     v1_4_[3-5]|v1_4_[3-4]_*|v1_4_5_[1-9]|cray_2005*)
103         portalstag="$lustretag"
104         libsysiotag="$lustretag"
105         ;;
106
107     # all later v* tags
108     v[1-9]*)
109         portalstag="$lustretag"
110         lnettag="$lustretag"
111         libsysiotag="$lustretag"
112         ;;
113 esac
114
115 cvs_cmd libsysio libsysio "$libsysiotag"
116 cvs_cmd portals portals "$portalstag"
117 cvs_cmd lnet lnet "$lnettag"
118 cvs_cmd snmp lustre-snmp "$snmptag"
119 cvs_cmd lustre lustre-core "$lustretag"