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