Deleted Added
sdiff udiff text old ( 11308:7d8836fd043d ) new ( 11342:a4d19e7cd26d )
full compact
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')
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
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 ---