- Added options to link staticly against oiio/boost
[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'
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     '${BF_FFMPEG_LIBPATH}/libfaad.a'
34
35 # Don't depend on system's libstdc++
36 WITH_BF_STATICCXX = True
37 BF_CXX_LIB_STATIC = '/usr/lib/gcc/i486-linux-gnu/4.3.4/libstdc++.a'
38
39 WITH_BF_OPENAL = True
40 WITH_BF_STATICOPENAL = True
41 BF_OPENAL_LIB_STATIC = '/opt/openal/lib/libopenal.a'
42
43 WITH_BF_GETTEXT_STATIC = True
44 BF_FREETYPE_LIB_STATIC = True
45
46 WITH_BF_OPENEXR = True
47 WITH_BF_STATICOPENEXR = True
48
49 WITH_BF_TIFF = True
50 WITH_BF_STATICTIFF = True
51 BF_TIFF_LIB_STATIC = '${BF_TIFF}/lib/libtiff.a'
52
53 WITH_BF_JPEG = True
54 BF_JPEG_LIB = 'libjpeg'
55 BF_JPEG_LIBPATH = '/home/sources/staticlibs/lib32'
56
57 WITH_BF_PNG = True
58 BF_PNG_LIB = 'libpng'
59 BF_PNG_LIBPATH = '/home/sources/staticlibs/lib32'
60
61 WITH_BF_ZLIB = True
62 WITH_BF_STATICZLIB = True
63 BF_ZLIB_LIB_STATIC = '${BF_ZLIB}/lib/libz.a'
64
65 WITH_BF_SDL = True
66 WITH_BF_OGG = True
67
68 WITH_BF_OPENMP = True
69
70 WITH_BF_GAMEENGINE = True
71 WITH_BF_BULLET = True
72
73 # Blender player (would be enabled in it's own config)
74 WITH_BF_PLAYER = False
75
76 # Use jemalloc memory manager
77 WITH_BF_JEMALLOC = True
78 WITH_BF_STATICJEMALLOC = True
79 BF_JEMALLOC = '/home/sources/staticlibs/jemalloc'
80 BF_JEMALLOC_LIBPATH = '${BF_JEMALLOC}/lib32'
81
82 # Use 3d mouse library
83 WITH_BF_3DMOUSE = True
84 WITH_BF_STATIC3DMOUSE = True
85 BF_3DMOUSE = '/home/sources/staticlibs/spnav'
86 BF_3DMOUSE_LIBPATH = '${BF_3DMOUSE}/lib32'
87
88 # FFT
89 WITH_BF_FFTW3 = True
90 WITH_BF_STATICFFTW3 = True
91
92 # JACK
93 WITH_BF_JACK = True
94
95 # Cycles
96 WITH_BF_CYCLES = True
97
98 WITH_BF_OIIO = True
99 WITH_BF_STATICOIIO = True
100 BF_OIIO = '/opt/oiio'
101 BF_OIIO_INC = '${BF_OIIO}/include'
102 BF_OIIO_LIB_STATIC = '${BF_OIIO_LIBPATH}/libOpenImageIO.a'
103 BF_OIIO_LIBPATH = '${BF_OIIO}/lib'
104
105 WITH_BF_BOOST = True
106 WITH_BF_STATICBOOST = True
107 BF_BOOST = '/opt/boost'
108 BF_BOOST_INC = '${BF_BOOST}/include'
109 BF_BOOST_LIB_STATIC = '${BF_BOOST_LIBPATH}/libboost_filesystem.a ${BF_BOOST_LIBPATH}/libboost_date_time.a ${BF_BOOST_LIBPATH}/libboost_regex.a ${BF_BOOST_LIBPATH}/libboost_system.a ${BF_BOOST_LIBPATH}/libboost_thread.a'
110 BF_BOOST_LIBPATH = '${BF_BOOST}/lib'
111
112 # Compilation and optimization
113 BF_DEBUG = False
114 REL_CCFLAGS = ['-O2', '-msse', '-msse2']  # C & C++
115 PLATFORM_LINKFLAGS = ['-L/home/sources/staticlibs/lib32']