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 # Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
26 # Copyright (c) 2019, Joyent, Inc.
27 #
28 # - This file is sourced by "bldenv.sh" and "nightly.sh" and should not
29 # be executed directly.
30 # - This script is only interpreted by ksh93 and explicitly allows the
31 # use of ksh93 language extensions.
32
33
34 # -----------------------------------------------------------------------------
35 # Parameters you are likely to want to change
36 # -----------------------------------------------------------------------------
37
38 # DEBUG build only (-D, -F)
39 # do not bringover from the parent (-n)
40 # runs 'make check' (-C)
41 # checks for new interfaces in libraries (-A)
42 # sends mail on completion (-m and the MAILTO variable)
43 # creates packages for PIT/RE (-p)
44 # checks for changes in ELF runpaths (-r)
45 # build and use this workspace's tools in $SRC/tools (-t)
46 export NIGHTLY_OPTIONS='-FnCDAmprt'
61 # Each entry has the form <name>,<path to binary>,<style> where name is a
62 # free-form name (possibly used in the makefiles to guard options), path is
63 # the path to the executable. style is the 'style' of command line taken by
64 # the compiler, currently either gnu (or gcc) or sun (or cc), which is also
65 # used by Makefiles to guard options.
66 #
67 # __SUNC and __GNUC must still be set to reflect the style of the primary
68 # compiler (and to influence the default primary, otherwise)
69 #
70 # for example:
71 # export PRIMARY_CC=gcc4,/opt/gcc/4.4.4/bin/gcc,gnu
72 # export PRIMARY_CCC=gcc4,/opt/gcc/4.4.4/bin/g++,gnu
73 # export SHADOW_CCS=studio12,/opt/SUNWspro/bin/cc,sun
74 # export SHADOW_CCCS=studio12,/opt/SUNWspro/bin/CC,sun
75 #
76 # There can be several space-separated entries in SHADOW_* to run multiple
77 # shadow compilers.
78 #
79 # To disable shadow compilation, unset SHADOW_* or set them to the empty string.
80 #
81 export SHADOW_CCS=gcc7,/usr/gcc/7/bin/gcc,gnu
82 export SHADOW_CCCS=gcc7,/usr/gcc/7/bin/g++,gnu
83
84 # uncomment to enable smatch
85 #export ENABLE_SMATCH=1
86
87 # Comment this out to disable support for SMB printing, i.e. if you
88 # don't want to bother providing the CUPS headers this needs.
89 export ENABLE_SMB_PRINTING=
90
91 # If your distro uses certain versions of Perl, make sure either Makefile.master
92 # contains your new defaults OR your .env file sets them.
93 # These are how you would override for building on OmniOS r151028, for example.
94 #export PERL_VERSION=5.28
95 #export PERL_ARCH=i86pc-solaris-thread-multi-64int
96 #export PERL_PKGVERS=
97
98 # If your distro uses certain versions of Python, make sure either
99 # Makefile.master contains your new defaults OR your .env file sets them.
100 #export PYTHON_VERSION=2.7
101 #export PYTHON_PKGVERS=-27
102 #export PYTHON_SUFFIX=
|
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 # Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
26 # Copyright 2019, Joyent, Inc.
27 #
28 # - This file is sourced by "bldenv.sh" and "nightly.sh" and should not
29 # be executed directly.
30 # - This script is only interpreted by ksh93 and explicitly allows the
31 # use of ksh93 language extensions.
32
33
34 # -----------------------------------------------------------------------------
35 # Parameters you are likely to want to change
36 # -----------------------------------------------------------------------------
37
38 # DEBUG build only (-D, -F)
39 # do not bringover from the parent (-n)
40 # runs 'make check' (-C)
41 # checks for new interfaces in libraries (-A)
42 # sends mail on completion (-m and the MAILTO variable)
43 # creates packages for PIT/RE (-p)
44 # checks for changes in ELF runpaths (-r)
45 # build and use this workspace's tools in $SRC/tools (-t)
46 export NIGHTLY_OPTIONS='-FnCDAmprt'
61 # Each entry has the form <name>,<path to binary>,<style> where name is a
62 # free-form name (possibly used in the makefiles to guard options), path is
63 # the path to the executable. style is the 'style' of command line taken by
64 # the compiler, currently either gnu (or gcc) or sun (or cc), which is also
65 # used by Makefiles to guard options.
66 #
67 # __SUNC and __GNUC must still be set to reflect the style of the primary
68 # compiler (and to influence the default primary, otherwise)
69 #
70 # for example:
71 # export PRIMARY_CC=gcc4,/opt/gcc/4.4.4/bin/gcc,gnu
72 # export PRIMARY_CCC=gcc4,/opt/gcc/4.4.4/bin/g++,gnu
73 # export SHADOW_CCS=studio12,/opt/SUNWspro/bin/cc,sun
74 # export SHADOW_CCCS=studio12,/opt/SUNWspro/bin/CC,sun
75 #
76 # There can be several space-separated entries in SHADOW_* to run multiple
77 # shadow compilers.
78 #
79 # To disable shadow compilation, unset SHADOW_* or set them to the empty string.
80 #
81 export GNUC_ROOT=/usr/gcc/7
82 export PRIMARY_CCS=gcc7,$GNUC_ROOT/bin/gcc,gnu
83 export PRIMARY_CCCS=gcc7,$GNUC_ROOT/bin/g++,gnu
84 export SHADOW_CCS=gcc4,/opt/gcc/4.4.4/bin/gcc,gnu
85 export SHADOW_CCCS=gcc4,/opt/gcc/4.4.4/bin/g++,gnu
86
87 # uncomment to enable smatch
88 #export ENABLE_SMATCH=1
89
90 # Comment this out to disable support for SMB printing, i.e. if you
91 # don't want to bother providing the CUPS headers this needs.
92 export ENABLE_SMB_PRINTING=
93
94 # If your distro uses certain versions of Perl, make sure either Makefile.master
95 # contains your new defaults OR your .env file sets them.
96 # These are how you would override for building on OmniOS r151028, for example.
97 #export PERL_VERSION=5.28
98 #export PERL_ARCH=i86pc-solaris-thread-multi-64int
99 #export PERL_PKGVERS=
100
101 # If your distro uses certain versions of Python, make sure either
102 # Makefile.master contains your new defaults OR your .env file sets them.
103 #export PYTHON_VERSION=2.7
104 #export PYTHON_PKGVERS=-27
105 #export PYTHON_SUFFIX=
|