diff options
author | Andrew Morrow <acm@mongodb.com> | 2017-07-15 18:23:12 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2017-10-10 16:11:17 -0400 |
commit | f1884ccb8bae49ee915b5aa065058e5cf9dacb1a (patch) | |
tree | d830dd429e7d70347eb8c25d66725c6537ad69a3 /SConstruct | |
parent | 49dfa0c0e938c265f987b585f3d41ae12a64f65a (diff) | |
download | mongo-f1884ccb8bae49ee915b5aa065058e5cf9dacb1a.tar.gz |
SERVER-30278 SCons icecream integration
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index deed445c54d..22cc72559f7 100644 --- a/SConstruct +++ b/SConstruct @@ -620,6 +620,19 @@ env_vars.Add('HOST_ARCH', converter=variable_arch_converter, default=None) +env_vars.Add('ICECC', + help='Tell SCons where icecream icecc tool is') + +env_vars.Add('ICERUN', + help='Tell SCons where icecream icerun tool is') + +env_vars.Add('ICECC_CREATE_ENV', + help='Tell SCons where icecc-create-env tool is', + default='buildscripts/icecc_create_env') + +env_vars.Add('ICECC_SCHEDULER', + help='Tell ICECC where the sceduler daemon is running') + env_vars.Add('LIBPATH', help='Adds paths to the linker search path', converter=variable_shlex_converter) @@ -3016,6 +3029,9 @@ def doConfigure(myenv): env = doConfigure( env ) +# Now that we are done with configure checks, enable icecream, if available. +env.Tool('icecream') + # If the flags in the environment are configured for -gsplit-dwarf, # inject the necessary emitter. split_dwarf = Tool('split_dwarf') |