Initial support of linux 32/64 bit for buildbot:

- Use the same config as we're using for release builds
- Added stipping (maybe it should be generalized)
- Not software gl packing, bot would be easy to add

Note, that you should have special environment to create
proper linux builts (which would work for everybody)
This commit is contained in:
Sergey Sharybin
2011-04-01 21:22:19 +00:00
parent 367cf47dd6
commit 485229b7db
7 changed files with 417 additions and 13 deletions

View File

@@ -545,8 +545,18 @@ def buildslave(target=None, source=None, env=None):
else:
extension = '.tar.bz2'
platform = env['OURPLATFORM'].split('-')[0]
if platform == 'linux2':
import platform
bitness = platform.architecture()[0]
if bitness == '64bit':
platform = 'linux-glibc27-x86_64'
elif bitness == '32bit':
platform = 'linux-glibc27-i686'
outdir = os.path.abspath(env['BF_INSTALLDIR'])
package_name = 'blender-' + VERSION+'-'+REVISION + '-' + env['OURPLATFORM'].split('-')[0]
package_name = 'blender-' + VERSION+'-'+REVISION + '-' + platform
package_dir = os.path.normpath(outdir + os.sep + '..' + os.sep + package_name)
package_archive = os.path.normpath(outdir + os.sep + '..' + os.sep + package_name + extension)