SConstruct (10319:4207f9bfcceb) SConstruct (10384:fa66d9c5e180)
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

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

747 print 'Error: SWIG version', min_swig_version, 'or newer required.'
748 print ' Installed version:', swig_version[2]
749 Exit(1)
750
751# Set up SWIG flags & scanner
752swig_flags=Split('-c++ -python -modern -templatereduce $_CPPINCFLAGS')
753main.Append(SWIGFLAGS=swig_flags)
754
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

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

747 print 'Error: SWIG version', min_swig_version, 'or newer required.'
748 print ' Installed version:', swig_version[2]
749 Exit(1)
750
751# Set up SWIG flags & scanner
752swig_flags=Split('-c++ -python -modern -templatereduce $_CPPINCFLAGS')
753main.Append(SWIGFLAGS=swig_flags)
754
755# Check for 'timeout' from GNU coreutils. If present, regressions
756# will be run with a time limit.
757TIMEOUT_version = readCommand(['timeout', '--version'], exception=False)
758main['TIMEOUT'] = TIMEOUT_version and TIMEOUT_version.find('timeout') == 0
759
755# filter out all existing swig scanners, they mess up the dependency
756# stuff for some reason
757scanners = []
758for scanner in main['SCANNERS']:
759 skeys = scanner.skeys
760 if skeys == '.i':
761 continue
762

--- 604 unchanged lines hidden ---
760# filter out all existing swig scanners, they mess up the dependency
761# stuff for some reason
762scanners = []
763for scanner in main['SCANNERS']:
764 skeys = scanner.skeys
765 if skeys == '.i':
766 continue
767

--- 604 unchanged lines hidden ---