Further tweaks to buildbot
[blender.git] / build_files / buildbot / config / user-config-player-glibc211-i686.py
1 BF_BUILDDIR = '../blender-build/linux-glibc211-i686'
2 BF_INSTALLDIR = '../blender-install/linux-glibc211-i686'
3 BF_NUMJOBS = 4
4
5 # Python configuration
6 BF_PYTHON_VERSION = '3.3'
7 BF_PYTHON_ABI_FLAGS = 'm'
8 BF_PYTHON = '/opt/lib/python-3.3'
9
10 WITH_BF_STATICPYTHON = True
11
12 # OpenCollada configuration
13 WITH_BF_COLLADA = False
14
15 # FFMPEG configuration
16 WITH_BF_FFMPEG = True
17 WITH_BF_STATICFFMPEG = True
18
19 BF_FFMPEG = '/opt/lib/ffmpeg'
20 BF_FFMPEG_LIBPATH = '${BF_FFMPEG}/lib'
21 BF_FFMPEG_LIB_STATIC = '${BF_FFMPEG_LIBPATH}/libavformat.a ${BF_FFMPEG_LIBPATH}/libavdevice.a ' + \
22     '${BF_FFMPEG_LIBPATH}/libavfilter.a ${BF_FFMPEG_LIBPATH}/libavcodec.a ${BF_FFMPEG_LIBPATH}/libavutil.a ' + \
23     '${BF_FFMPEG_LIBPATH}/libswscale.a ${BF_FFMPEG_LIBPATH}/libswresample.a ' + \
24     '/usr/lib/libxvidcore.a /usr/lib/libx264.a /usr/lib/libmp3lame.a /usr/lib/libvpx.a /usr/lib/libvorbis.a ' + \
25     '/usr/lib/libogg.a /usr/lib/libvorbisenc.a /usr/lib/libtheora.a /usr/lib/libschroedinger-1.0.a ' + \
26     '/usr/lib/liborc-0.4.a'
27
28 # Don't depend on system's libstdc++
29 WITH_BF_STATICCXX = True
30 BF_CXX_LIB_STATIC = '/usr/lib/gcc/i486-linux-gnu/4.7.1/libstdc++.a'
31
32 WITH_BF_OPENAL = True
33 WITH_BF_STATICOPENAL = True
34 BF_OPENAL = '/opt/lib/openal'
35 BF_OPENAL_LIB_STATIC = '/opt/lib/openal/lib/libopenal.a'
36
37 WITH_BF_GETTEXT_STATIC = True
38
39 WITH_BF_FREETYPE_STATIC = False
40
41 WITH_BF_OPENEXR = True
42 WITH_BF_STATICOPENEXR = True
43
44 WITH_BF_TIFF = True
45 WITH_BF_STATICTIFF = True
46 BF_TIFF_LIB_STATIC = '${BF_TIFF}/lib/libtiff.a'
47
48 WITH_BF_JPEG = True
49 WITH_BF_STATICJPEG = True
50 BF_JPEG_LIB_STATIC= '${BF_JPEG}/lib/libjpeg.a'
51
52 WITH_BF_STATICLIBSAMPLERATE = True
53
54 WITH_BF_PNG = True
55 WITH_BF_STATICPNG = True
56 BF_PNG_LIB_STATIC = '${BF_PNG}/lib/libpng.a'
57
58 WITH_BF_ZLIB = True
59 WITH_BF_STATICZLIB = True
60 BF_ZLIB_LIB_STATIC = '${BF_ZLIB}/lib/libz.a'
61
62 WITH_BF_SDL = True
63 WITH_BF_OGG = False
64
65 WITH_BF_OPENMP = True
66 WITH_BF_STATICOPENMP = True
67 BF_OPENMP_LIB_STATIC = '/usr/lib/gcc/i486-linux-gnu/4.7/libgomp.a'
68
69 WITH_BF_GAMEENGINE = True
70 WITH_BF_BULLET = True
71
72 # Do not build blender when building blenderplayer
73 WITH_BF_NOBLENDER = True
74 WITH_BF_PLAYER = True
75
76 # Use jemalloc memory manager
77 WITH_BF_JEMALLOC = True
78 WITH_BF_STATICJEMALLOC = True
79 BF_JEMALLOC = '/opt/lib/jemalloc'
80 BF_JEMALLOC_LIBPATH = '${BF_JEMALLOC}/lib'
81
82 # Use 3d mouse library
83 WITH_BF_3DMOUSE = True
84 WITH_BF_STATIC3DMOUSE = True
85 BF_3DMOUSE = '/opt/lib/libspnav'
86 BF_3DMOUSE_LIBPATH = '${BF_3DMOUSE}/lib'
87
88 # Color management
89 WITH_BF_OCIO = True
90 WITH_BF_STATICOCIO = True
91 BF_OCIO = '/opt/lib/ocio'
92 BF_OCIO_INC = '${BF_OCIO}/include'
93 BF_OCIO_LIB_STATIC = '${BF_OCIO_LIBPATH}/libOpenColorIO.a ${BF_OCIO_LIBPATH}/libtinyxml.a ${BF_OCIO_LIBPATH}/libyaml-cpp.a'
94 BF_OCIO_LIBPATH = '${BF_OCIO}/lib'
95
96 WITH_BF_BOOST = True
97 WITH_BF_STATICBOOST = True
98 BF_BOOST = '/opt/lib/boost'
99 BF_BOOST_INC = '${BF_BOOST}/include'
100 BF_BOOST_LIB_STATIC = '${BF_BOOST_LIBPATH}/libboost_filesystem.a ${BF_BOOST_LIBPATH}/libboost_date_time.a ' + \
101     '${BF_BOOST_LIBPATH}/libboost_regex.a ${BF_BOOST_LIBPATH}/libboost_locale.a ${BF_BOOST_LIBPATH}/libboost_system.a \
102     ${BF_BOOST_LIBPATH}/libboost_thread.a'
103 BF_BOOST_LIBPATH = '${BF_BOOST}/lib'
104
105 # JACK
106 WITH_BF_JACK = False
107 WITH_BF_STATICJACK = True
108 BF_JACK_LIB_STATIC = '${BF_ZLIB}/lib/libjack.a'
109
110 # Motion Tracking
111 WITH_BF_LIBMV = False
112
113 # Ocean Simulation
114 WITH_BF_FFTW3 = True
115 WITH_BF_STATICFFTW3 = True
116 WITH_BF_OCEANSIM = True
117
118 # Compilation and optimization
119 BF_DEBUG = False
120 REL_CCFLAGS = ['-DNDEBUG', '-O2', '-msse', '-msse2']  # C & C++
121 PLATFORM_LINKFLAGS = ['-lrt']