svn merge -r36651:36672 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender.git] / build_files / buildbot / config / user-config-i686.py
1 BF_BUILDDIR = '../blender-build/linux-glibc27-i686'
2 BF_INSTALLDIR = '../blender-install/linux-glibc27-i686'
3 BF_NUMJOBS = 2
4
5 # Python configuration
6 BF_PYTHON_VERSION = '3.2'
7 BF_PYTHON_ABI_FLAGS = 'mu'
8 BF_PYTHON = '/opt/python3.2'
9
10 WITH_BF_STATICPYTHON = True
11
12 # OpenCollada configuration
13 WITH_BF_COLLADA = True
14 BF_OPENCOLLADA = '/opt/opencollada'
15 BF_OPENCOLLADA_INC = '${BF_OPENCOLLADA}/include'
16 BF_OPENCOLLADA_LIB = 'OpenCOLLADAStreamWriter OpenCOLLADASaxFrameworkLoader OpenCOLLADAFramework OpenCOLLADABaseUtils GeneratedSaxParser UTF MathMLSolver buffer ftoa libxml2-static libexpat-static libpcre-static'
17 BF_OPENCOLLADA_LIBPATH = '${BF_OPENCOLLADA}/lib /home/sources/staticlibs/lib32'
18 BF_PCRE_LIB = ''
19 BF_EXPAT_LIB = ''
20
21 # FFMPEG configuration
22 WITH_BF_FFMPEG = True
23 WITH_BF_STATICFFMPEG = True
24
25 BF_FFMPEG = '/home/sources/staticlibs/ffmpeg'
26 BF_FFMPEG_LIBPATH = '${BF_FFMPEG}/lib32'
27 BF_FFMPEG_LIB_STATIC = '${BF_FFMPEG_LIBPATH}/libavformat.a ${BF_FFMPEG_LIBPATH}/libswscale.a ' + \
28     '${BF_FFMPEG_LIBPATH}/libavcodec.a ${BF_FFMPEG_LIBPATH}/libavdevice.a ${BF_FFMPEG_LIBPATH}/libavutil.a ' + \
29     '${BF_FFMPEG_LIBPATH}/libxvidcore.a ${BF_FFMPEG_LIBPATH}/libx264.a ${BF_FFMPEG_LIBPATH}/libmp3lame.a ' + \
30     '${BF_FFMPEG_LIBPATH}/libvpx.a ${BF_FFMPEG_LIBPATH}/libvorbis.a ${BF_FFMPEG_LIBPATH}/libogg.a ' + \
31     '${BF_FFMPEG_LIBPATH}/libvorbisenc.a ${BF_FFMPEG_LIBPATH}/libtheora.a ' + \
32     '${BF_FFMPEG_LIBPATH}/libschroedinger-1.0.a ${BF_FFMPEG_LIBPATH}/liborc-0.4.a ${BF_FFMPEG_LIBPATH}/libdirac_encoder.a'
33
34 # Don't depend on system's libstdc++
35 WITH_BF_STATICCXX = True
36 BF_CXX_LIB_STATIC = '/usr/lib/gcc/i486-linux-gnu/4.3.2/libstdc++.a'
37
38 WITH_BF_OPENAL = True
39 WITH_BF_STATICOPENAL = True
40 BF_OPENAL_LIB_STATIC = '/opt/openal/lib/libopenal.a'
41
42 WITH_BF_GETTEXT_STATIC = True
43 BF_FREETYPE_LIB_STATIC = True
44
45 WITH_BF_OPENEXR = True
46 WITH_BF_STATICOPENEXR = True
47
48 WITH_BF_TIFF = True
49 WITH_BF_STATICTIFF = True
50 BF_TIFF_LIB_STATIC = '${BF_TIFF}/lib/libtiff.a'
51
52 WITH_BF_JPEG = True
53 BF_JPEG_LIB = 'libjpeg'
54 BF_JPEG_LIBPATH = '/home/sources/staticlibs/lib32'
55
56 WITH_BF_PNG = True
57 BF_PNG_LIB = 'libpng'
58 BF_PNG_LIBPATH = '/home/sources/staticlibs/lib32'
59
60 WITH_BF_STATICLIBSAMPLERATE = True
61
62 WITH_BF_ZLIB = True
63 WITH_BF_STATICZLIB = True
64 BF_ZLIB_LIB_STATIC = '${BF_ZLIB}/lib/libz.a'
65
66 WITH_BF_SDL = True
67 WITH_BF_OGG = True
68
69 WITH_BF_OPENMP = True
70
71 WITH_BF_GAMEENGINE = True
72 WITH_BF_BULLET = True
73
74 # Blender player (would be enabled in it's own config)
75 WITH_BF_PLAYER = False
76
77 # Use jemalloc memory manager
78 WITH_BF_JEMALLOC = True
79 WITH_BF_STATICJEMALLOC = True
80 BF_JEMALLOC = '/home/sources/staticlibs/jemalloc'
81 BF_JEMALLOC_LIBPATH = '${BF_JEMALLOC}/lib32'
82
83 # Compilation and optimization
84 BF_DEBUG = False
85 REL_CFLAGS = ['-O2']
86 REL_CCFLAGS = ['-O2']
87 PLATFORM_LINKFLAGS = ['-L/home/sources/staticlibs/lib32']