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