[Bf-blender-cvs] [03d9f9a] master: Buildbot: initial work to enable CMake OSX slave

Sergey Sharybin noreply at git.blender.org
Sun Dec 20 09:59:24 CET 2015


Commit: 03d9f9a6194dd2caa44de1d67b3198b8fa9edc75
Author: Sergey Sharybin
Date:   Sun Dec 20 13:59:04 2015 +0500
Branches: master
https://developer.blender.org/rB03d9f9a6194dd2caa44de1d67b3198b8fa9edc75

Buildbot: initial work to enable CMake OSX slave

===================================================================

M	build_files/buildbot/slave_compile.py
M	build_files/buildbot/slave_pack.py
M	build_files/buildbot/slave_test.py

===================================================================

diff --git a/build_files/buildbot/slave_compile.py b/build_files/buildbot/slave_compile.py
index 0afbd9f..2f5110e 100644
--- a/build_files/buildbot/slave_compile.py
+++ b/build_files/buildbot/slave_compile.py
@@ -56,6 +56,8 @@ if 'cmake' in builder:
     cmake_options = ['-DCMAKE_BUILD_TYPE:STRING=Release']
 
     if builder.startswith('mac'):
+        remove_cache = True
+        install_dir = None
         # Set up OSX architecture
         if builder.endswith('x86_64_cmake'):
             cmake_options.append('-DCMAKE_OSX_ARCHITECTURES:STRING=x86_64')
diff --git a/build_files/buildbot/slave_pack.py b/build_files/buildbot/slave_pack.py
index c0f9a84..a4ea426 100644
--- a/build_files/buildbot/slave_pack.py
+++ b/build_files/buildbot/slave_pack.py
@@ -103,7 +103,7 @@ if builder.find('scons') != -1:
     sys.exit(retcode)
 else:
     # CMake
-    if 'win' in builder:
+    if 'win' in builder or 'mac' in builder:
         os.chdir(build_dir)
 
         files = [f for f in os.listdir('.') if os.path.isfile(f) and f.endswith('.zip')]
diff --git a/build_files/buildbot/slave_test.py b/build_files/buildbot/slave_test.py
index 973e17a..07fe27c 100644
--- a/build_files/buildbot/slave_test.py
+++ b/build_files/buildbot/slave_test.py
@@ -35,7 +35,7 @@ blender_dir = '../blender.git'
 if "cmake" in builder:
     # cmake
 
-    if "linux" in builder:
+    if "linux" in builder or 'mac' in builder:
         print("Automated tests are still DISABLED!")
         sys.exit(0)




More information about the Bf-blender-cvs mailing list