Buildbot: Use proper archive name for CMake OSX slave
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 20 Dec 2015 09:12:04 +0000 (14:12 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 20 Dec 2015 09:12:04 +0000 (14:12 +0500)
build_files/buildbot/slave_pack.py

index a4ea426dddac075cddc0656bf9ae9d350d8c5443..5355c7090a9664337c59758c384a544841628dd5 100644 (file)
@@ -119,6 +119,15 @@ else:
         blender_full_version = '.'.join(blender_version[0:2])
         git_hash = tokens[2].split('.')[1]
         platform = builder.split('_')[0]
+        if platform == 'mac':
+            # Special exception for OSX
+            platform = 'OSX-10.6-'
+            if builder.endswith('x86_64_10_6_cmake'):
+                platform += 'x86_64'
+            elif builder.endswith('i386_10_6_cmake'):
+                platform += 'i386'
+            elif builder.endswith('ppc_10_6_cmake'):
+                platform += 'ppc'
         builderified_name = 'blender-{}-{}-{}'.format(blender_full_version, git_hash, platform)
         if branch != '':
             builderified_name = branch + "-" + builderified_name