Buildbot: Fix wrong architecture passed to CMake
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 20 Dec 2015 09:12:43 +0000 (14:12 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 20 Dec 2015 09:12:43 +0000 (14:12 +0500)
build_files/buildbot/slave_compile.py

index 2f5110e9d9c8e6889b6841be1953d8bed4369df7..a0b2b6362d3abd9ef0516267dc79cd43db7dd714 100644 (file)
@@ -59,11 +59,11 @@ if 'cmake' in builder:
         remove_cache = True
         install_dir = None
         # Set up OSX architecture
-        if builder.endswith('x86_64_cmake'):
+        if builder.endswith('x86_64_10_6_cmake'):
             cmake_options.append('-DCMAKE_OSX_ARCHITECTURES:STRING=x86_64')
-        elif builder.endswith('i386_cmake'):
+        elif builder.endswith('i386_10_6_cmake'):
             cmake_options.append('-DCMAKE_OSX_ARCHITECTURES:STRING=i386')
-        elif builder.endswith('ppc_cmake'):
+        elif builder.endswith('ppc_10_6_cmake'):
             cmake_options.append('-DCMAKE_OSX_ARCHITECTURES:STRING=ppc')
 
     elif builder.startswith('win'):