Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-04-17 01:23:05 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-04-17 01:23:05 +0400
commitbf591017b3f957dd8a7eb379d0a09e6e36c6229e (patch)
treeacdb16cdd4ec91ff4da9e576a296f753fa21102f /build_files/buildbot
parent99aec11acf7fc2b84559fa7903e023f677d312d6 (diff)
buildbot:
- use cores+1 threads - do not clean build directories - separate build directories for blender and blenderplayer This should make compilation much faster and buildbot rebuild tag could happen more often
Diffstat (limited to 'build_files/buildbot')
-rw-r--r--build_files/buildbot/slave_compile.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/build_files/buildbot/slave_compile.py b/build_files/buildbot/slave_compile.py
index e6dd4840bd6..1fa5f215023 100644
--- a/build_files/buildbot/slave_compile.py
+++ b/build_files/buildbot/slave_compile.py
@@ -75,16 +75,10 @@ else:
build_dir = os.path.join('..', 'build', builder)
install_dir = os.path.join('..', 'install', builder)
- common_options = ['BF_NUMJOBS=' + str(cores),
- 'BF_BUILDDIR=' + build_dir,
+ common_options = ['BF_NUMJOBS=' + str(cores + 1),
'BF_INSTALLDIR=' + install_dir]
- # Clean all directories first
- retcode = subprocess.call(scons_cmd + common_options + ['clean'])
- if retcode != 0:
- print('Error cleaning build directory')
- sys.exit(retcode)
-
+ # Clean install directory so we'll be sure there's no
if os.path.isdir(install_dir):
shutil.rmtree(install_dir)
@@ -103,6 +97,12 @@ else:
config_fpath = os.path.join(config_dir, config)
scons_options = []
+
+ if config.find('player') != -1:
+ scons_options.append('BF_BUILDDIR=%s_player' % (build_dir))
+ else:
+ scons_options.append('BF_BUILDDIR=%s' % (build_dir))
+
scons_options += common_options
if config.find('player') == -1: