SConstruct (11308:7d8836fd043d) SConstruct (11342:a4d19e7cd26d)
1# -*- mode:python -*-
2
3# Copyright (c) 2013, 2015 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating

--- 180 unchanged lines hidden (view full) ---

189AddLocalOption('--without-python', dest='without_python',
190 action='store_true',
191 help='Build without Python configuration support')
192AddLocalOption('--without-tcmalloc', dest='without_tcmalloc',
193 action='store_true',
194 help='Disable linking against tcmalloc')
195AddLocalOption('--with-ubsan', dest='with_ubsan', action='store_true',
196 help='Build with Undefined Behavior Sanitizer if available')
1# -*- mode:python -*-
2
3# Copyright (c) 2013, 2015 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating

--- 180 unchanged lines hidden (view full) ---

189AddLocalOption('--without-python', dest='without_python',
190 action='store_true',
191 help='Build without Python configuration support')
192AddLocalOption('--without-tcmalloc', dest='without_tcmalloc',
193 action='store_true',
194 help='Disable linking against tcmalloc')
195AddLocalOption('--with-ubsan', dest='with_ubsan', action='store_true',
196 help='Build with Undefined Behavior Sanitizer if available')
197AddLocalOption('--with-asan', dest='with_asan', action='store_true',
198 help='Build with Address Sanitizer if available')
197
198termcap = get_termcap(GetOption('use_colors'))
199
200########################################################################
201#
202# Set up the main build environment.
203#
204########################################################################
205
206# export TERM so that clang reports errors in color
207use_vars = set([ 'AS', 'AR', 'CC', 'CXX', 'HOME', 'LD_LIBRARY_PATH',
208 'LIBRARY_PATH', 'PATH', 'PKG_CONFIG_PATH', 'PROTOC',
209 'PYTHONPATH', 'RANLIB', 'SWIG', 'TERM' ])
210
211use_prefixes = [
199
200termcap = get_termcap(GetOption('use_colors'))
201
202########################################################################
203#
204# Set up the main build environment.
205#
206########################################################################
207
208# export TERM so that clang reports errors in color
209use_vars = set([ 'AS', 'AR', 'CC', 'CXX', 'HOME', 'LD_LIBRARY_PATH',
210 'LIBRARY_PATH', 'PATH', 'PKG_CONFIG_PATH', 'PROTOC',
211 'PYTHONPATH', 'RANLIB', 'SWIG', 'TERM' ])
212
213use_prefixes = [
214 "ASAN_", # address sanitizer symbolizer path and settings
212 "CCACHE_", # ccache (caching compiler wrapper) configuration
213 "CCC_", # clang static analyzer configuration
214 "DISTCC_", # distcc (distributed compiler wrapper) configuration
215 "INCLUDE_SERVER_", # distcc pump server settings
216 "M5", # M5 configuration (e.g., path to kernels)
217 ]
218
219use_env = {}

--- 1236 unchanged lines hidden ---
215 "CCACHE_", # ccache (caching compiler wrapper) configuration
216 "CCC_", # clang static analyzer configuration
217 "DISTCC_", # distcc (distributed compiler wrapper) configuration
218 "INCLUDE_SERVER_", # distcc pump server settings
219 "M5", # M5 configuration (e.g., path to kernels)
220 ]
221
222use_env = {}

--- 1236 unchanged lines hidden ---