Print this page
4027 remove CLOSED_BUILD
4028 remove CLOSED_IS_PRESENT
4029 remove tonic build bits
Reviewed by: Andy Stormont <andyjstormont@gmail.com>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/tools/env/gatekeeper.sh
+++ new/usr/src/tools/env/gatekeeper.sh
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
24 24 #
25 25
26 26 # Configuration variables for the runtime environment of the nightly
27 27 # build script and other tools for construction and packaging of releases.
28 28 # This script is sourced by 'nightly' and 'bldenv' to set up the environment
29 29 # for the build. This example is suitable for building a gate,
30 30 # which will contain the resulting packages and archives (builds of the gate
31 31 # are done in children and then the resulting archives, packages, and proto
32 32 # area are put into the parent for everyone to use). It is based off
33 33 # the onnv release. It sets NIGHTLY_OPTIONS to make nightly do:
34 34 # DEBUG and non-DEBUG builds (-D)
35 35 # creates packages for PIT/RE (-p)
36 36 # checks for new interfaces in libraries (-A)
37 37 # runs 'make check' (-C)
38 38 # runs lint in usr/src (-l plus the LINTDIRS variable)
39 39 # sends mail on completion (-m and the MAILTO variable)
40 40 # updates the protolist in the parent for children to compare with (-u)
41 41 # updates the proto area in the parent when done (-U)
42 42 # checks for changes in ELF runpaths (-r)
43 43 # checks for changes in unreferenced files (-f)
44 44 #
45 45 NIGHTLY_OPTIONS="-ADClmpuUrf"; export NIGHTLY_OPTIONS
46 46
47 47 # This is a variable for the rest of the script - GATE doesn't matter to
48 48 # nightly itself
49 49 GATE=onnv-gate; export GATE
50 50
51 51 # CODEMGR_WS - where is your workspace at (or what should nightly name it)
52 52 # there is only one definition here, which assumes all the gate build machines
53 53 # (sparc and x86) are set up the same. But remember, this is a script, so
54 54 # you _could_ look at $MACH or `uname -n` and set these variables differently.
55 55 CODEMGR_WS="/builds/$GATE"; export CODEMGR_WS
56 56
57 57 # PARENT_WS is used to determine the parent of this workspace. This is
58 58 # for the options that deal with the parent workspace (such as where the
59 59 # proto area will go).
60 60 #
61 61 # If you use this, it must be local (or nfs): nightly cannot copy
62 62 # over ssh or http.
↓ open down ↓ |
62 lines elided |
↑ open up ↑ |
63 63 PARENT_WS="/ws/$GATE"; export PARENT_WS
64 64
65 65 # CLONE_WS is the workspace nightly should do a bringover from.
66 66 CLONE_WS="ssh://anonhg@onnv.sfbay.sun.com//export/onnv-clone"; export CLONE_WS
67 67
68 68 # CLOSED_CLONE_WS is the workspace from which nightly will acquire the
69 69 # usr/closed tree.
70 70 CLOSED_CLONE_WS="${CLONE_WS}/usr/closed"
71 71 export CLOSED_CLONE_WS
72 72
73 -# This flag controls whether to build the closed source. If
74 -# undefined, nightly(1) and bldenv(1) will set it according to whether
75 -# the closed source tree is present. CLOSED_IS_PRESENT="no" means not
76 -# building the closed sources.
77 -# CLOSED_IS_PRESENT="yes"; export CLOSED_IS_PRESENT
78 -
79 73 # The bringover, if any, is done as STAFFER.
80 74 # Set STAFFER to your own login as gatekeeper or integration engineer.
81 75 # The point is to use group "staff" and avoid referencing the parent
82 76 # workspace as root.
83 77 # Some scripts optionally send mail messages to MAILTO.
84 78 #
85 79 STAFFER=nobody; export STAFFER
86 80 MAILTO=$STAFFER; export MAILTO
87 81
88 82 # The project (see project(4)) under which to run this build. If not
89 83 # specified, the build is simply run in a new task in the current project.
90 84 BUILD_PROJECT=; export BUILD_PROJECT
91 85
92 86 # You should not need to change the next four lines
93 87 LOCKNAME="`basename $CODEMGR_WS`_nightly.lock"; export LOCKNAME
94 88 ATLOG="$CODEMGR_WS/log"; export ATLOG
95 89 LOGFILE="$ATLOG/nightly.log"; export LOGFILE
96 90 MACH=`uname -p`; export MACH
97 91
98 92 # When the -A flag is specified, and ELF_DATA_BASELINE_DIR is defined,
99 93 # the ELF interface description file resulting from the build is compared
100 94 # to that from the specified directory. This ensures that our object
101 95 # versioning evolves in a backward compatible manner.
102 96 #
103 97 # You should not need to change this unless you wish to use locally cached
104 98 # baseline files. If you use this, it must be local (or nfs): nightly cannot
105 99 # copy over ssh or http.
106 100 #
107 101 ELF_DATA_BASELINE_DIR="/ws/onnv-gate/usr/src/ELF-data-baseline.$MACH"; export ELF_DATA_BASELINE_DIR
108 102
109 103 # This is usually just needed if the closed tree is missing, or when
110 104 # building a project gate with the -O (cap oh) flag.
111 105 # ON_CRYPTO_BINS="$PARENT_WS/packages/$MACH/on-crypto.$MACH.tar.bz2"
112 106 # export ON_CRYPTO_BINS
113 107
114 108 # REF_PROTO_LIST - for comparing the list of stuff in your proto area
115 109 # with. Generally this should be left alone, since you want to see differences
116 110 # between todays build and yesterdays.
117 111 #
118 112 REF_PROTO_LIST=$PARENT_WS/usr/src/proto_list_${MACH}; export REF_PROTO_LIST
119 113
120 114 #
121 115 # build environment variables, including version info for mcs, motd,
122 116 # motd, uname and boot messages. Mostly you shouldn't change this except
123 117 # when the release slips (nah) or when starting a new release.
124 118 #
125 119 ROOT="$CODEMGR_WS/proto/root_${MACH}"; export ROOT
126 120 SRC="$CODEMGR_WS/usr/src"; export SRC
127 121 VERSION="$GATE"; export VERSION
128 122
129 123 #
130 124 # the RELEASE and RELEASE_DATE variables are set in Makefile.master;
131 125 # there might be special reasons to override them here, but that
132 126 # should not be the case in general
133 127 #
134 128 # RELEASE="5.10.1"; export RELEASE
135 129 # RELEASE_DATE="October 2007"; export RELEASE_DATE
136 130
137 131 # proto area in parent for optionally depositing a copy of headers and
138 132 # libraries corresponding to the protolibs target
139 133 #
140 134 PARENT_ROOT=$PARENT_WS/proto/root_$MACH; export PARENT_ROOT
141 135 PARENT_TOOLS_ROOT=$PARENT_WS/usr/src/tools/proto/root_$MACH-nd; export PARENT_TOOLS_ROOT
142 136
143 137 #
144 138 # Package creation variables. You probably shouldn't change these,
145 139 # either.
146 140 #
147 141 # PKGARCHIVE determines where repositories will be created.
148 142 #
149 143 # PKGPUBLISHER* control the publisher settings for those repositories.
150 144 #
151 145 PKGARCHIVE="${PARENT_WS}/packages/${MACH}/nightly"; export PKGARCHIVE
152 146 # PKGPUBLISHER_REDIST="on-nightly"; export PKGPUBLISHER_REDIST
153 147 # PKGPUBLISHER_NONREDIST="on-extra"; export PKGPUBLISHER_NONREDIST
154 148
155 149
156 150 # we want make to do as much as it can, just in case there's more than
157 151 # one problem. This is especially important with the gate, since multiple
158 152 # unrelated broken things can be integrated.
159 153 MAKEFLAGS=k; export MAKEFLAGS
160 154
161 155 # Magic variable to prevent the devpro compilers/teamware from sending
162 156 # mail back to devpro on every use.
163 157 UT_NO_USAGE_TRACKING="1"; export UT_NO_USAGE_TRACKING
164 158
165 159 # Build tools - don't set these unless you know what you're doing. These
166 160 # variables allows you to get the compilers and onbld files locally or
167 161 # through cachefs. Set BUILD_TOOLS to pull everything from one location.
168 162 # Alternately, you can set ONBLD_TOOLS to where you keep the contents of
169 163 # SUNWonbld and SPRO_ROOT to where you keep the compilers.
170 164 #
171 165 #BUILD_TOOLS=/opt; export BUILD_TOOLS
172 166 #ONBLD_TOOLS=/opt/onbld; export ONBLD_TOOLS
173 167 #SPRO_ROOT=/opt/SUNspro; export SPRO_ROOT
174 168
175 169 # This goes along with lint - it is a series of the form "A [y|n]" which
176 170 # means "go to directory A and run 'make lint'" Then mail me (y) the
177 171 # difference in the lint output. 'y' should only be used if the area you're
178 172 # linting is actually lint clean or you'll get lots of mail.
179 173 # You shouldn't need to change this though.
180 174 #LINTDIRS="$SRC y"; export LINTDIRS
181 175
182 176 #
183 177 # Reference to IA32 IHV workspace, proto area and packages
184 178 #
185 179 #IA32_IHV_WS=/ws/${GATE}-ihv; export IA32_IHV_WS
186 180 #IA32_IHV_ROOT=$IA32_IHV_WS/proto/root_i386; export IA32_IHV_ROOT
187 181 #IA32_IHV_PKGS=$IA32_IHV_WS/packages/i386/nightly; export IA32_IHV_PKGS
188 182
189 183 #
190 184 # Reference to binary-only IA32 IHV packages
191 185 #
192 186 #IA32_IHV_BINARY_PKGS=/ws/${GATE}-ihv-bin
193 187 #export IA32_IHV_BINARY_PKGS
194 188
195 189 # Set this flag to 'n' to disable the automatic validation of the dmake
196 190 # version in use. The default is to check it.
197 191 #CHECK_DMAKE=y
198 192
199 193 # Set this flag to 'n' to disable the use of 'checkpaths'. The default,
200 194 # if the 'N' option is not specified, is to run this test.
201 195 #CHECK_PATHS=y
202 196
203 197 # Set this flag to 'y' to enable the use of elfsigncmp to validate the
204 198 # output of elfsign. Doing so requires that 't' be set in NIGHTLY_OPTIONS.
205 199 # The default is to not verify them.
206 200 #VERIFY_ELFSIGN=n
207 201
208 202 # BRINGOVER_FILES is the list of files nightly passes to bringover.
209 203 # If not set the default is "usr", but it can be used for bringing
210 204 # over deleted_files or other nifty directories.
211 205 #BRINGOVER_FILES="usr deleted_files"
212 206
213 207 # POST_NIGHTLY can be any command to be run at the end of nightly. See
214 208 # nightly(1) for interactions between environment variables and this command.
215 209 #POST_NIGHTLY=
↓ open down ↓ |
127 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX