2 # CDDL HEADER START
3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
22 # Copyright 2010, 2011 Nexenta Systems, Inc. All rights reserved.
23 # Copyright 2012 Joshua M. Clulow <josh@sysmgr.org>
24 # Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
25 #
26
27 # Configuration variables for the runtime environment of the nightly
28 # build script and other tools for construction and packaging of
29 # releases.
30 # This example is suitable for building an illumos workspace, which
31 # will contain the resulting archives. It is based off the onnv
32 # release. It sets NIGHTLY_OPTIONS to make nightly do:
33 # DEBUG build only (-D, -F)
34 # do not bringover from the parent (-n)
35 # runs 'make check' (-C)
36 # checks for new interfaces in libraries (-A)
37 # runs lint in usr/src (-l plus the LINTDIRS variable)
38 # sends mail on completion (-m and the MAILTO variable)
39 # creates packages for PIT/RE (-p)
40 # checks for changes in ELF runpaths (-r)
41 # build and use this workspace's tools in $SRC/tools (-t)
42 #
182 #
183 # PKGARCHIVE determines where the repository will be created.
184 #
185 # PKGPUBLISHER_REDIST controls the publisher setting for the repository.
186 #
187 export PKGARCHIVE="${CODEMGR_WS}/packages/${MACH}/nightly"
188 # export PKGPUBLISHER_REDIST='on-redist'
189
190 # Package manifest format version.
191 export PKGFMT_OUTPUT='v1'
192
193 # we want make to do as much as it can, just in case there's more than
194 # one problem.
195 export MAKEFLAGS='k'
196
197 # Magic variable to prevent the devpro compilers/teamware from sending
198 # mail back to devpro on every use.
199 export UT_NO_USAGE_TRACKING='1'
200
201 # Build tools - don't change these unless you know what you're doing. These
202 # variables allows you to get the compilers and onbld files locally or
203 # through cachefs. Set BUILD_TOOLS to pull everything from one location.
204 # Alternately, you can set ONBLD_TOOLS to where you keep the contents of
205 # SUNWonbld and SPRO_ROOT to where you keep the compilers. SPRO_VROOT
206 # exists to make it easier to test new versions of the compiler.
207 export BUILD_TOOLS='/opt'
208 #export ONBLD_TOOLS='/opt/onbld'
209 export SPRO_ROOT='/opt/SUNWspro'
210 export SPRO_VROOT="$SPRO_ROOT"
211
212 # This goes along with lint - it is a series of the form "A [y|n]" which
213 # means "go to directory A and run 'make lint'" Then mail me (y) the
214 # difference in the lint output. 'y' should only be used if the area you're
215 # linting is actually lint clean or you'll get lots of mail.
216 # You shouldn't need to change this though.
217 #export LINTDIRS="$SRC y"
218
219 # Set this flag to 'n' to disable the use of 'checkpaths'. The default,
220 # if the 'N' option is not specified, is to run this test.
221 #CHECK_PATHS='y'
222
223 # POST_NIGHTLY can be any command to be run at the end of nightly. See
|
2 # CDDL HEADER START
3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
22 # Copyright 2015 Nexenta Systems, Inc. All rights reserved.
23 # Copyright 2012 Joshua M. Clulow <josh@sysmgr.org>
24 # Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
25 #
26
27 # Configuration variables for the runtime environment of the nightly
28 # build script and other tools for construction and packaging of
29 # releases.
30 # This example is suitable for building an illumos workspace, which
31 # will contain the resulting archives. It is based off the onnv
32 # release. It sets NIGHTLY_OPTIONS to make nightly do:
33 # DEBUG build only (-D, -F)
34 # do not bringover from the parent (-n)
35 # runs 'make check' (-C)
36 # checks for new interfaces in libraries (-A)
37 # runs lint in usr/src (-l plus the LINTDIRS variable)
38 # sends mail on completion (-m and the MAILTO variable)
39 # creates packages for PIT/RE (-p)
40 # checks for changes in ELF runpaths (-r)
41 # build and use this workspace's tools in $SRC/tools (-t)
42 #
182 #
183 # PKGARCHIVE determines where the repository will be created.
184 #
185 # PKGPUBLISHER_REDIST controls the publisher setting for the repository.
186 #
187 export PKGARCHIVE="${CODEMGR_WS}/packages/${MACH}/nightly"
188 # export PKGPUBLISHER_REDIST='on-redist'
189
190 # Package manifest format version.
191 export PKGFMT_OUTPUT='v1'
192
193 # we want make to do as much as it can, just in case there's more than
194 # one problem.
195 export MAKEFLAGS='k'
196
197 # Magic variable to prevent the devpro compilers/teamware from sending
198 # mail back to devpro on every use.
199 export UT_NO_USAGE_TRACKING='1'
200
201 # Build tools - don't change these unless you know what you're doing. These
202 # variables allows you to get the compilers and onbld files locally.
203 # Set BUILD_TOOLS to pull everything from one location.
204 # Alternately, you can set ONBLD_TOOLS to where you keep the contents of
205 # SUNWonbld and SPRO_ROOT to where you keep the compilers. SPRO_VROOT
206 # exists to make it easier to test new versions of the compiler.
207 export BUILD_TOOLS='/opt'
208 #export ONBLD_TOOLS='/opt/onbld'
209 export SPRO_ROOT='/opt/SUNWspro'
210 export SPRO_VROOT="$SPRO_ROOT"
211
212 # This goes along with lint - it is a series of the form "A [y|n]" which
213 # means "go to directory A and run 'make lint'" Then mail me (y) the
214 # difference in the lint output. 'y' should only be used if the area you're
215 # linting is actually lint clean or you'll get lots of mail.
216 # You shouldn't need to change this though.
217 #export LINTDIRS="$SRC y"
218
219 # Set this flag to 'n' to disable the use of 'checkpaths'. The default,
220 # if the 'N' option is not specified, is to run this test.
221 #CHECK_PATHS='y'
222
223 # POST_NIGHTLY can be any command to be run at the end of nightly. See
|