[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51736] trunk/blender/build_files/scons/ tools/btools.py: Buildbot: use proper archive name for glibc2.11 archives
Sergey Sharybin
sergey.vfx at gmail.com
Mon Oct 29 17:07:18 CET 2012
Revision: 51736
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51736
Author: nazgul
Date: 2012-10-29 16:07:16 +0000 (Mon, 29 Oct 2012)
Log Message:
-----------
Buildbot: use proper archive name for glibc2.11 archives
Modified Paths:
--------------
trunk/blender/build_files/scons/tools/btools.py
Modified: trunk/blender/build_files/scons/tools/btools.py
===================================================================
--- trunk/blender/build_files/scons/tools/btools.py 2012-10-29 15:43:54 UTC (rev 51735)
+++ trunk/blender/build_files/scons/tools/btools.py 2012-10-29 16:07:16 UTC (rev 51736)
@@ -662,11 +662,16 @@
if platform == 'linux':
import platform
+ if env['BF_INSTALLDIR'].find('glibc27') != -1:
+ glibc="glibc27"
+ elif env['BF_INSTALLDIR'].find('glibc211') != -1:
+ glibc="glibc211"
+
bitness = platform.architecture()[0]
if bitness == '64bit':
- platform = 'linux-glibc27-x86_64'
+ platform = 'linux-' + glibc + '-x86_64'
elif bitness == '32bit':
- platform = 'linux-glibc27-i686'
+ platform = 'linux-' + glibc + '-i686'
if platform == 'darwin':
platform = 'OSX-' + env['MACOSX_ARCHITECTURE']
More information about the Bf-blender-cvs
mailing list