Buildbot: Fix undefined bits for CentOS based builder

This commit is contained in:
Sergey Sharybin 2019-06-26 19:36:57 +02:00
parent 171e0d4283
commit b98428e046

View file

@ -136,11 +136,11 @@ if builder.find('cmake') != -1:
blender_hash = parse_header_file(buildinfo_h, 'BUILD_HASH')[1:-1]
blender_glibc = builder.split('_')[1]
command_prefix = []
bits = 64
if blender_glibc == 'glibc224':
if builder.endswith('x86_64_cmake'):
chroot_name = 'buildbot_stretch_x86_64'
bits = 64
blender_arch = 'x86_64'
elif builder.endswith('i686_cmake'):
chroot_name = 'buildbot_stretch_i686'