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 # Comment this out to disable support for SMB printing, i.e. if you
85 # don't want to bother providing the CUPS headers this needs.
86 export ENABLE_SMB_PRINTING=
87
88 # If your distro uses certain versions of Perl, make sure either Makefile.master
89 # contains your new defaults OR your .env file sets them.
90 # These are how you would override for building on OmniOS r151028, for example.
91 #export PERL_VERSION=5.28
92 #export PERL_ARCH=i86pc-solaris-thread-multi-64int
93 #export PERL_PKGVERS=
94
95 # If your distro uses certain versions of Python, make sure either
96 # Makefile.master contains your new defaults OR your .env file sets them.
97 #export PYTHON_VERSION=2.7
98 #export PYTHON_PKGVERS=-27
99 #export PYTHON_SUFFIX=
100 #export PYTHON3_VERSION=3.5
101 #export PYTHON3_PKGVERS=-35
102 #export PYTHON3_SUFFIX=m
103
256 # variables allows you to get the compilers and onbld files locally.
257 # Set BUILD_TOOLS to pull everything from one location.
258 # Alternately, you can set ONBLD_TOOLS to where you keep the contents of
259 # SUNWonbld and SPRO_ROOT to where you keep the compilers. SPRO_VROOT
260 # exists to make it easier to test new versions of the compiler.
261 export BUILD_TOOLS='/opt'
262 #export ONBLD_TOOLS='/opt/onbld'
263 export SPRO_ROOT='/opt/SUNWspro'
264 export SPRO_VROOT="$SPRO_ROOT"
265
266 # This goes along with lint - it is a series of the form "A [y|n]" which
267 # means "go to directory A and run 'make lint'" Then mail me (y) the
268 # difference in the lint output. 'y' should only be used if the area you're
269 # linting is actually lint clean or you'll get lots of mail.
270 # You shouldn't need to change this though.
271 #export LINTDIRS="$SRC y"
272
273 # Set this flag to 'n' to disable the use of 'checkpaths'. The default,
274 # if the 'N' option is not specified, is to run this test.
275 #CHECK_PATHS='y'
|
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=
103 #export PYTHON3_VERSION=3.5
104 #export PYTHON3_PKGVERS=-35
105 #export PYTHON3_SUFFIX=m
106
259 # variables allows you to get the compilers and onbld files locally.
260 # Set BUILD_TOOLS to pull everything from one location.
261 # Alternately, you can set ONBLD_TOOLS to where you keep the contents of
262 # SUNWonbld and SPRO_ROOT to where you keep the compilers. SPRO_VROOT
263 # exists to make it easier to test new versions of the compiler.
264 export BUILD_TOOLS='/opt'
265 #export ONBLD_TOOLS='/opt/onbld'
266 export SPRO_ROOT='/opt/SUNWspro'
267 export SPRO_VROOT="$SPRO_ROOT"
268
269 # This goes along with lint - it is a series of the form "A [y|n]" which
270 # means "go to directory A and run 'make lint'" Then mail me (y) the
271 # difference in the lint output. 'y' should only be used if the area you're
272 # linting is actually lint clean or you'll get lots of mail.
273 # You shouldn't need to change this though.
274 #export LINTDIRS="$SRC y"
275
276 # Set this flag to 'n' to disable the use of 'checkpaths'. The default,
277 # if the 'N' option is not specified, is to run this test.
278 #CHECK_PATHS='y'
279
280 if [[ "$ENABLE_SMATCH" = "1" ]]; then
281 SMATCHBIN=$CODEMGR_WS/usr/src/tools/proto/root_$MACH-nd/opt/onbld/bin/$MACH/smatch
282 export SHADOW_CCS="$SHADOW_CCS smatch,$SMATCHBIN,smatch"
283 fi
|