1# -*- mode:python -*- 2 3# Copyright (c) 2013 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 --- 770 unchanged lines hidden (view full) --- 779 ' If you encounter build problems, please update ' + \ 780 'swig to 3.0 or later.' + \ 781 termcap.Normal 782 783# Set up SWIG flags & scanner 784swig_flags=Split('-c++ -python -modern -templatereduce $_CPPINCFLAGS') 785main.Append(SWIGFLAGS=swig_flags) 786 |
787# Check for 'timeout' from GNU coreutils. If present, regressions will 788# be run with a time limit. We require version 8.13 since we rely on 789# support for the '--foreground' option. 790timeout_lines = readCommand(['timeout', '--version'], 791 exception='').splitlines() 792# Get the first line and tokenize it 793timeout_version = timeout_lines[0].split() if timeout_lines else [] 794main['TIMEOUT'] = timeout_version and \ 795 compareVersions(timeout_version[-1], '8.13') >= 0 |
796 797# filter out all existing swig scanners, they mess up the dependency 798# stuff for some reason 799scanners = [] 800for scanner in main['SCANNERS']: 801 skeys = scanner.skeys 802 if skeys == '.i': 803 continue --- 613 unchanged lines hidden --- |