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 #
25
26 # Configuration variables for the runtime environment of the nightly
27 # build script and other tools for construction and packaging of
28 # releases.
29 # This example is suitable for building an illumos workspace, which
30 # will contain the resulting archives. It is based off the onnv
31 # release. It sets NIGHTLY_OPTIONS to make nightly do:
32 # DEBUG build only (-D, -F)
33 # do not bringover from the parent (-n)
34 # runs 'make check' (-C)
35 # runs lint in usr/src (-l plus the LINTDIRS variable)
36 # sends mail on completion (-m and the MAILTO variable)
37 # creates packages for PIT/RE (-p)
38 # checks for changes in ELF runpaths (-r)
39 # build and use this workspace's tools in $SRC/tools (-t)
40 #
41 # - This file is sourced by "bldenv.sh" and "nightly.sh" and should not
42 # be executed directly.
43 # - This script is only interpreted by ksh93 and explicitly allows the
44 # use of ksh93 language extensions.
45 #
46 export NIGHTLY_OPTIONS='-FnCDlmprt'
47
48 #
49 # -- PLEASE READ THIS --
50 #
51 # The variables GATE and CODEMGR_WS must always be customised to
52 # match your workspace/gate location!!
53 #
54 # -- PLEASE READ THIS --
55 #
56
57 # This is a variable for the rest of the script - GATE doesn't matter to
58 # nightly itself
59 export GATE='testws'
60
61 # CODEMGR_WS - where is your workspace at (or what should nightly name it)
62 export CODEMGR_WS="$HOME/ws/$GATE"
63
64 # Maximum number of dmake jobs. The recommended number is 2 + NCPUS,
65 # where NCPUS is the number of logical CPUs on your build system.
66 function maxjobs
|
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 #
25
26 # Configuration variables for the runtime environment of the nightly
27 # build script and other tools for construction and packaging of
28 # releases.
29 # This example is suitable for building an illumos workspace, which
30 # will contain the resulting archives. It is based off the onnv
31 # release. It sets NIGHTLY_OPTIONS to make nightly do:
32 # DEBUG build only (-D, -F)
33 # do not bringover from the parent (-n)
34 # runs 'make check' (-C)
35 # checks for new interfaces in libraries (-A)
36 # runs lint in usr/src (-l plus the LINTDIRS variable)
37 # sends mail on completion (-m and the MAILTO variable)
38 # creates packages for PIT/RE (-p)
39 # checks for changes in ELF runpaths (-r)
40 # build and use this workspace's tools in $SRC/tools (-t)
41 #
42 # - This file is sourced by "bldenv.sh" and "nightly.sh" and should not
43 # be executed directly.
44 # - This script is only interpreted by ksh93 and explicitly allows the
45 # use of ksh93 language extensions.
46 #
47 export NIGHTLY_OPTIONS='-FnCDAlmprt'
48
49 #
50 # -- PLEASE READ THIS --
51 #
52 # The variables GATE and CODEMGR_WS must always be customised to
53 # match your workspace/gate location!!
54 #
55 # -- PLEASE READ THIS --
56 #
57
58 # This is a variable for the rest of the script - GATE doesn't matter to
59 # nightly itself
60 export GATE='testws'
61
62 # CODEMGR_WS - where is your workspace at (or what should nightly name it)
63 export CODEMGR_WS="$HOME/ws/$GATE"
64
65 # Maximum number of dmake jobs. The recommended number is 2 + NCPUS,
66 # where NCPUS is the number of logical CPUs on your build system.
67 function maxjobs
|