diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-04-02 01:22:19 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-04-02 01:22:19 +0400 |
commit | 485229b7db0888e8f6e504ee41f159bd45fd42a9 (patch) | |
tree | 655312c549f1668f4e286d0ad62e80f3eb87f8aa /build_files/scons | |
parent | 367cf47dd68f210eeaf9ba6b51a1fdbcf93d209b (diff) |
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)
Diffstat (limited to 'build_files/scons')
-rw-r--r-- | build_files/scons/tools/btools.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/build_files/scons/tools/btools.py b/build_files/scons/tools/btools.py index 69bb42264e5..2d8c9276ba1 100644 --- a/build_files/scons/tools/btools.py +++ b/build_files/scons/tools/btools.py @@ -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) |