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:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user