buildbot:
[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 # Used for linking against system ffmpeg, but it gives pixelization,, so fall back to ffmpeg from 2.52 temporary
26 #BF_FFMPEG_LIB_STATIC = '${BF_FFMPEG_LIBPATH}/libavformat.a ${BF_FFMPEG_LIBPATH}/libavcodec.a ${BF_FFMPEG_LIBPATH}/libswscale.a ' + \
27 #    '${BF_FFMPEG_LIBPATH}/libavutil.a ${BF_FFMPEG_LIBPATH}/libavdevice.a ${BF_FFMPEG_LIBPATH}/libdc1394.a ' + \
28 #    '${BF_FFMPEG_LIBPATH}/libraw1394.a ${BF_FFMPEG_LIBPATH}/libdirac_encoder.a ${BF_FFMPEG_LIBPATH}/libschroedinger-1.0.a ' + \
29 #    '${BF_FFMPEG_LIBPATH}/libfaad.a ${BF_FFMPEG_LIBPATH}/libtheora.a ' + \
30 #    '${BF_FFMPEG_LIBPATH}/libspeex.a ${BF_FFMPEG_LIBPATH}/libbz2.a ${BF_FFMPEG_LIBPATH}/liboil-0.3.a ${BF_FFMPEG_LIBPATH}/libogg.a ' + \
31 #    '${BF_FFMPEG_LIBPATH}/libvorbisenc.a ${BF_FFMPEG_LIBPATH}/libvorbis.a ${BF_FFMPEG_LIBPATH}/libgsm.a'
32
33 BF_FFMPEG = '/home/sources/staticlibs/ffmpeg'
34 BF_FFMPEG_LIBPATH = '${BF_FFMPEG}/lib32'
35 BF_FFMPEG_LIB_STATIC = '${BF_FFMPEG_LIBPATH}/libextern_libavformat.a ${BF_FFMPEG_LIBPATH}/libextern_libswscale.a ' + \
36     '${BF_FFMPEG_LIBPATH}/libextern_libavcodec.a ${BF_FFMPEG_LIBPATH}/libextern_libavdevice.a ' + \
37     '${BF_FFMPEG_LIBPATH}/libextern_libavutil.a ${BF_FFMPEG_LIBPATH}/libextern_xvidcore.a ' + \
38     '${BF_FFMPEG_LIBPATH}/libextern_libmp3lame.a ${BF_FFMPEG_LIBPATH}/libextern_x264.a'
39
40 # Don't depend on system's libstdc++
41 WITH_BF_STATICCXX = True
42 BF_CXX_LIB_STATIC = '/usr/lib/gcc/i486-linux-gnu/4.3.2/libstdc++.a'
43
44 WITH_BF_OPENAL = True
45 WITH_BF_STATICOPENAL = True
46 BF_OPENAL_LIB_STATIC = '/opt/openal/lib/libopenal.a'
47
48 WITH_BF_GETTEXT_STATIC = True
49 BF_FREETYPE_LIB_STATIC = True
50
51 WITH_BF_OPENEXR = True
52 WITH_BF_STATICOPENEXR = True
53
54 WITH_BF_TIFF = True
55 WITH_BF_STATICTIFF = True
56 BF_TIFF_LIB_STATIC = '${BF_TIFF}/lib/libtiff.a'
57
58 WITH_BF_JPEG = True
59 BF_JPEG_LIB = 'libjpeg'
60 BF_JPEG_LIBPATH = '/home/sources/staticlibs/lib32'
61
62 WITH_BF_PNG = True
63 BF_PNG_LIB = 'libpng'
64 BF_PNG_LIBPATH = '/home/sources/staticlibs/lib32'
65
66 WITH_BF_STATICLIBSAMPLERATE = True
67
68 WITH_BF_ZLIB = True
69 WITH_BF_STATICZLIB = True
70 BF_ZLIB_LIB_STATIC = '${BF_ZLIB}/lib/libz.a'
71
72 WITH_BF_SDL = True
73 WITH_BF_OGG = True
74
75 WITH_BF_OPENMP = True
76
77 WITH_BF_GAMEENGINE = True
78 WITH_BF_BULLET = True
79
80 # Blender player (would be enabled in it's own config)
81 WITH_BF_PLAYER = False
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']