buildbot:
authorSergey Sharybin <sergey.vfx@gmail.com>
Sat, 2 Apr 2011 21:11:22 +0000 (21:11 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sat, 2 Apr 2011 21:11:22 +0000 (21:11 +0000)
- Remove packed to buildbot_archive.zip archive file to keep scons install
  directory as clean as possible (if i understood correct, this file isn't
  actually needed in the future, so we could remove it just after packing rather
  than cleaning install directory before packing as it's done for cmake)
- No need in scripts installation for linux slaves when preparing archive

build_files/buildbot/slave_pack.py
build_files/scons/tools/btools.py

index 7b62864fa98adb34baf00d007e5cb0181934e88d..81402b3aca4335bf6bc0e88a4355784d371d43d1 100644 (file)
@@ -47,7 +47,8 @@ if builder.find('scons') != -1:
 
         scons_options += ['WITH_BF_NOBLENDER=True', 'WITH_BF_PLAYER=False',
             'BF_BUILDDIR=' + build_dir,
-            'BF_INSTALLDIR=' + install_dir]
+            'BF_INSTALLDIR=' + install_dir,
+            'WITHOUT_BF_INSTALL=True']
 
         config = None
 
index 2d8c9276ba1d070692e95d16e2b9698b06ae4488..a646b9084c2879b1ad5519b21f7373afa935b165 100644 (file)
@@ -530,6 +530,8 @@ def buildbot_zip(src, dest, package_name, extension):
     print("writing %s to %s" % (dest, bb_zip_name))
     bb_zip.write(dest, os.path.split(dest)[1])
     bb_zip.close()
+    print("removing unneeded packed file %s (to keep install directory clean)" % (dest))
+    os.remove(dest)
     print("done.")
 
 def buildslave_print(target, source, env):