Home
last modified time | relevance | path

Searched full:scons (Results 1 – 25 of 86) sorted by relevance

1234

/external/mesa3d/scons/
Dcrossmingw.py1 """SCons.Tool.gcc
6 It will usually be imported through the generic SCons.Tool.Tool()
9 See also http://www.scons.org/wiki/CrossCompilingMingw
13 # Copyright (c) 2001, 2002, 2003, 2004 The SCons Foundation
39 import SCons.Action
40 import SCons.Builder
41 import SCons.Tool
42 import SCons.Util
46 prefixes32 = SCons.Util.Split("""
49 prefixes64 = SCons.Util.Split("""
[all …]
Dcustom.py38 import SCons.Action
39 import SCons.Builder
40 import SCons.Scanner
48 # a path directly. We want to support both, so we need to detect the SCons version,
49 # for which no API is provided by SCons 8-P
51 scons_version = tuple(map(int, SCons.__version__.split('.')))
55 # See also http://www.scons.org/wiki/HidingCommandLinesInOutput
86 action_list = [ SCons.Action.Action("$ARCOM", "$ARCOMSTR") ]
88 ranlib_action = SCons.Action.Action("$RANLIBCOM", "$RANLIBCOMSTR")
91 convenience_lib = SCons.Builder.Builder(action = action_list,
[all …]
Dllvm.py36 import SCons.Errors
37 import SCons.Util
53 raise SCons.Errors.InternalError, "Specified LLVM directory not found"
64 raise SCons.Errors.InternalError, "LLVM binary directory not found"
71 print 'scons: LLVM environment variable must be specified when building for windows'
77 print 'scons: could not find %s' % llvm_config
95 print 'scons: could not determine the LLVM version from %s' % llvm_config
98 … print 'scons: LLVM version %s found, but %s is required' % (llvm_version, required_llvm_version)
199 print 'scons: %s script not found' % llvm_config
206 … print 'scons: LLVM version %s found, but %s is required' % (llvm_version, required_llvm_version)
[all …]
Dgallium.py42 import SCons.Action
43 import SCons.Builder
44 import SCons.Scanner
79 action = SCons.Action.Action(symlink, " Symlinking $TARGET ...")
101 # http://www.scons.org/wiki/UnitTests
102 action = SCons.Action.Action(cmd, " Running $SOURCE ...")
137 pipe = SCons.Action._subproc(env, [env['CC'], cpp_opt, source.name],
175 env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
179 env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
181 env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
[all …]
Ddxsdk.py33 import SCons.Errors
34 import SCons.Util
54 raise SCons.Errors.InternalError, "Unsupported target machine"
/external/mesa3d/
DSConstruct4 # For example, invoke scons as
6 # scons build=debug llvm=yes machine=x86
18 # scons -h
20 # to get the full list of options. See scons manpage for more info.
26 import SCons.Util
39 toolpath = ['#scons'],
53 print 'scons: warning: targets option is deprecated; pass the targets on their own such as'
55 print ' scons %s' % ' '.join(targets)
105 toolpath = ['#scons'],
127 duplicate = 0, # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html
[all …]
Dcommon.py2 # Common SCons code
11 import SCons.Script.SConscript
23 if 'platform' in SCons.Script.ARGUMENTS:
24 target_platform = SCons.Script.ARGUMENTS['platform']
80 from SCons.Variables.BoolVariable import BoolVariable as BoolOption
82 from SCons.Options.BoolOption import BoolOption
84 from SCons.Variables.EnumVariable import EnumVariable as EnumOption
86 from SCons.Options.EnumOption import EnumOption
Dappveyor.yml52 # Install pywin32 extensions, needed by SCons
54 # Install SCons
55 - python -m pip install --egg scons==2.4.1
56 - scons --version
70 - scons -j%NUMBER_OF_PROCESSORS% MSVC_VERSION=12.0 llvm=1
73 - scons -j%NUMBER_OF_PROCESSORS% MSVC_VERSION=12.0 llvm=1 check
D.travis.yml23 - scons
42 - BUILD=scons
111 scons;
/external/jsoncpp/scons-tools/
Dsubstinfile.py2 from SCons.Script import * # the usual scons stuff you get in a SConscript
29 raise SCons.Errors.UserError("Can't read source file %s"%sourcefile)
37 raise SCons.Errors.UserError("Can't write target file %s"%targetfile)
42 raise SCons.Errors.UserError("SubstInFile requires SUBST_DICT to be set.")
47 elif SCons.Util.is_String(v):
50 … raise SCons.Errors.UserError("SubstInFile: key %s: %s must be a string or callable"%(k, repr(v)))
67 elif SCons.Util.is_String(v):
69 Depends(target, SCons.Node.Python.Value(d))
72 ## env.Append(TOOLS = 'substinfile') # this should be automaticaly done by Scons ?!?
73 subst_action = SCons.Action.Action( subst_in_file, subst_in_file_string )
Dtargz.py15 import SCons.Builder
16 import SCons.Node.FS
17 import SCons.Util
54 targzAction = SCons.Action.Action(targz, varlist=['TARGZ_COMPRESSION_LEVEL','TARGZ_BASEDIR'])
57 return SCons.Builder.Builder(action = SCons.Action.Action('$TARGZ_COM', '$TARGZ_COMSTR'),
58 source_factory = SCons.Node.FS.Entry,
59 source_scanner = SCons.Defaults.DirScanner,
/external/protobuf/gtest/test/
Drun_tests_util.py29 """Provides facilities for running SCons-built Google Test/Mock tests."""
71 adding 'scons/build/<configuration>/%(proj)s/scons' to BUILD_DIRs.
106 run_tests.py knows about directories where the SCons build script
112 <%(proj)s root>/scons/build/win-dbg8/%(proj)s/scons/
113 <%(proj)s root>/scons/build/win-opt8/%(proj)s/scons/
115 <%(proj)s root>/scons/build/mac-dbg/%(proj)s/scons/
116 <%(proj)s root>/scons/build/mac-opt/%(proj)s/scons/
118 <%(proj)s root>/scons/build/dbg/%(proj)s/scons/
119 <%(proj)s root>/scons/build/opt/%(proj)s/scons/"""
145 """Calculates path to the Google Test SCons build directory."""
[all …]
/external/nanopb-c/tests/site_scons/site_tools/
Dnanopb.py2 Scons Builder for nanopb .proto definitions.
31 import SCons.Action
32 import SCons.Builder
33 import SCons.Util
36 class NanopbWarning(SCons.Warnings.Warning):
38 SCons.Warnings.enableWarningClass(NanopbWarning)
51 raise SCons.Errors.StopError(NanopbWarning,
71 raise SCons.Errors.StopError(NanopbWarning,
106 _nanopb_proto_builder = SCons.Builder.Builder(
/external/jsoncpp/
DREADME.md79 Building and testing with SCons
82 **Note:** The SCons-based build system is deprecated. Please use CMake; see the
85 JsonCpp can use [Scons][] as a build system. Note that SCons requires Python to
88 [SCons]: http://www.scons.org/
90 Invoke SCons as follows:
92 scons platform=$PLATFORM [TARGET]
108 running SCons.
114 Note that test can be run using SCons using the `check` target:
116 scons platform=$PLATFORM check
Dmakerelease.py34 SCONS_LOCAL_URL = 'http://sourceforge.net/projects/scons/files/scons-local/1.2.0/scons-local-1.2.0.…
122 prune_dirs = antglob.prune_dirs + 'scons-local* ./build* ./libs ./dist'
129 excludes = antglob.default_excludes + 'scons.py sconsign.py scons-*',
151 cmd = [sys.executable, 'scons.py', 'platform=%s' % platform, 'check']
276 help="""Comma separated list of platform passed to scons for build check.""")
338 # Decompress source tarball, download and install scons-local
344 scons_local_path = 'dist/scons-local.tar.gz'
345 print('Downloading scons-local to', scons_local_path)
347 print('Decompressing scons-local to', distcheck_top_dir)
DSConstruct69 toolpath = ['scons-tools'],
80 env['CXX'] = 'xlC_r' #scons does not pick-up the correct one !
107 # Scons 1.2 fails to detect the correct location of the platform SDK.
221 import SCons.Action
222 ActionFactory = SCons.Action.ActionFactory
/external/mesa3d/docs/
Dinstall.html26 <li><a href="#scons">Building with SCons (Windows/Linux)</a>
43 <li><a href="http://www.scons.org/">SCons</a> is required for building on
136 <h1 id="scons">3. Building with SCons (Windows/Linux)</h1>
139 To build Mesa with SCons on Linux or Windows do
142 scons
152 To build Mesa with SCons for Windows on Linux using the MinGW crosscompiler toolchain do
155 scons platform=windows toolchain=crossmingw machine=x86 libgl-gdi
DREADME.WIN329 Windows drivers are build with SCons. Makefiles or Visual Studio projects are
14 scons libgl-gdi
36 - install scons (latest)
43 - run scons
Dllvmpipe.html98 <p>scons (optional)</p>
105 To build everything on Linux invoke scons as:
108 scons build=debug libgl-xlib
117 but the rest of these instructions assume that scons is used.
122 scons platform=windows build=debug libgl-gdi
142 <p>For performance evaluation pass build=release to scons, and use the corresponding
187 scons build=profile &lt;same-as-before&gt;
Dreleasing.html91 the autoconf and scons build.
110 <li>make distcheck, scons and scons check must pass
322 <li>scons (from release tarball)
341 # Build check the tarballs (scons)
342 tar -xaf mesa-$__version.tar.xz &amp;&amp; cd mesa-$__version &amp;&amp; scons &amp;&amp; cd ..
/external/vulkan-validation-layers/windowsRuntimeInstaller/
DNSIS_Security.patch1 diff --git a/nsis-3.0b3-src/SCons/Config/ms b/nsis-3.0b3-src/SCons/Config/ms
3 --- a/nsis-3.0b3-src/SCons/Config/ms
4 +++ b/nsis-3.0b3-src/SCons/Config/ms
/external/nanopb-c/tests/
DMakefile2 scons
5 scons -c
11 scons CC=gcc-4.6 CXX=gcc-4.6
/external/vixl/
DREADME.md45 2. SCons 2.0
169 [examples](examples) directory. You can build examples with either `scons
170 aarch32_examples` or `scons aarch64_examples` from the root directory, or use
171 `scons --help` to get a detailed list of available build targets.
/external/mesa3d/src/compiler/
DSConscript.glsl42 # without this line scons will expect "glsl_parser.hpp" instead of
115 # SCons builtin dependency scanner doesn't detect that glsl_lexer.ll depends on
126 # Skip building these programs as they will cause SCons error "Two environments
/external/libbrillo/
Dgen_coverage_html.sh9 scons debug=1 -c
10 scons debug=1

1234