Whamcloud - gitweb
285508938726f0e209fdde5966fa5bd96191f80d
[fs/lustre-release.git] / build / buildcvs
1 # This file is sourced by lustre/lustrecvs
2
3 portalstag="HEAD"
4 libsysiotag="LIBSYSIO_HEAD_20040809"
5
6 case "$lustretag" in
7     '')
8         warn "a lustretag is required."
9         usage >&2
10         exit 1
11         ;;
12     --help | -h)
13         usage
14         exit 0
15         ;;
16
17     # this is the branch table
18     # keep this list sorted alphabetically!
19     b_ptl_smallfix)
20         portalstag="b_ptl_smallfix"
21         lustretag="b1_4"
22         ;;
23
24     b1_2)
25         portalstag="b1_2"
26         ;;
27
28     b1_4_bgl)
29         portalstag="b1_4_bgl"
30         ;;
31
32     b_cray*)
33         libsysiotag="LIBSYSIO_HEAD_20041101"
34         ;;
35
36     b_hd_sec)
37         portalstag="b_hd_sec"
38         ;;
39
40     b_port_ahead)
41         portalstag="b_port_ahead"
42         ;;
43
44     b_port_netid)
45         portalstag="b_port_netid"
46         ;;
47
48     # b_port_step is only for portals
49     b_port_step)
50         portalstag="b_port_step"
51         lustretag="HEAD"
52         ;;
53
54     b_port_test)
55         portalstag="b_port_test"
56         ;;
57
58     v1_[0-3]*|v1_4_0*|[A-Z]*)
59         portalstag="$lustretag"
60         ;;
61
62     v[1-9]*)
63         portalstag="$lustretag"
64         libsysiotag="$lustretag"
65         ;;
66 esac
67
68 cvs_cmd libsysio libsysio "$libsysiotag"
69 cvs_cmd portals portals "$portalstag"
70 cvs_cmd lustre lustre-core "$lustretag"