partial fix for [#32581] Mesh properties API does not allow for zeros in byte array
[blender.git] / build_files / buildbot / config / user-config-glibc27-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.3'
7 BF_PYTHON_ABI_FLAGS = 'm'
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_STATICLIBSAMPLERATE = True
62
63 WITH_BF_ZLIB = True
64 WITH_BF_STATICZLIB = True
65 BF_ZLIB_LIB_STATIC = '${BF_ZLIB}/lib/libz.a'
66
67 WITH_BF_SDL = True
68 WITH_BF_OGG = True
69
70 WITH_BF_OPENMP = True
71
72 WITH_BF_GAMEENGINE = True
73 WITH_BF_BULLET = True
74
75 # Blender player (would be enabled in it's own config)
76 WITH_BF_PLAYER = False
77
78 # Use jemalloc memory manager
79 WITH_BF_JEMALLOC = True
80 WITH_BF_STATICJEMALLOC = True
81 BF_JEMALLOC = '/home/sources/staticlibs/jemalloc'
82 BF_JEMALLOC_LIBPATH = '${BF_JEMALLOC}/lib32'
83
84 # Use 3d mouse library
85 WITH_BF_3DMOUSE = True
86 WITH_BF_STATIC3DMOUSE = True
87 BF_3DMOUSE = '/home/sources/staticlibs/spnav'
88 BF_3DMOUSE_LIBPATH = '${BF_3DMOUSE}/lib32'
89
90 # FFT
91 WITH_BF_FFTW3 = True
92 WITH_BF_STATICFFTW3 = True
93
94 # JACK
95 WITH_BF_JACK = False
96
97 # Cycles
98 WITH_BF_CYCLES = True
99 WITH_BF_CYCLES_CUDA_BINARIES = True
100 BF_CYCLES_CUDA_BINARIES_ARCH = ['sm_13', 'sm_20', 'sm_21', 'sm_30']
101
102 WITH_BF_OIIO = True
103 WITH_BF_STATICOIIO = True
104 BF_OIIO = '/opt/oiio'
105 BF_OIIO_INC = '${BF_OIIO}/include'
106 BF_OIIO_LIB_STATIC = '${BF_OIIO_LIBPATH}/libOpenImageIO.a ${BF_OPENEXR}/lib/libIlmImf.a'
107 BF_OIIO_LIBPATH = '${BF_OIIO}/lib'
108
109 WITH_BF_CYCLES_OSL = True
110 WITH_BF_STATICOSL = False
111 BF_OSL = '/opt/osl'
112 BF_OSL_INC = '${BF_OSL}/include'
113 # note oslexec would passed via program linkflags, which is needed to
114 # make llvm happy with osl_allocate_closure_component
115 BF_OSL_LIB = 'oslcomp oslexec oslquery'
116 BF_OSL_LIBPATH = '${BF_OSL}/lib'
117 BF_OSL_COMPILER = '${BF_OSL}/bin/oslc'
118
119 WITH_BF_LLVM = True
120 WITH_BF_STATICLLVM = False
121 BF_LLVM = '/opt/llvm-3.1'
122 BF_LLVM_LIB = 'LLVMBitReader LLVMJIT LLVMipo LLVMVectorize LLVMBitWriter LLVMX86CodeGen LLVMX86Desc LLVMX86Info LLVMX86AsmPrinter ' + \
123     'LLVMX86Utils LLVMSelectionDAG LLVMCodeGen LLVMScalarOpts LLVMInstCombine LLVMTransformUtils LLVMipa LLVMAnalysis LLVMExecutionEngine ' + \
124     'LLVMTarget LLVMMC LLVMCore LLVMSupport'
125 BF_LLVM_LIBPATH = '${BF_LLVM}/lib'
126
127 # Color management
128 WITH_BF_OCIO = True
129 WITH_BF_STATICOCIO = True
130 BF_OCIO = '/opt/ocio'
131 BF_OCIO_INC = '${BF_OCIO}/include'
132 BF_OCIO_LIB_STATIC = '${BF_OCIO_LIBPATH}/libOpenColorIO.a ${BF_OCIO_LIBPATH}/libtinyxml.a ${BF_OCIO_LIBPATH}/libyaml-cpp.a'
133 BF_OCIO_LIBPATH = '${BF_OCIO}/lib'
134
135 WITH_BF_BOOST = True
136 WITH_BF_STATICBOOST = True
137 BF_BOOST = '/opt/boost'
138 BF_BOOST_INC = '${BF_BOOST}/include'
139 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_locale.a ${BF_BOOST_LIBPATH}/libboost_system.a ${BF_BOOST_LIBPATH}/libboost_thread.a'
140 BF_BOOST_LIBPATH = '${BF_BOOST}/lib'
141
142 # Ocean Simulation
143 WITH_BF_OCEANSIM = True
144
145 # Compilation and optimization
146 BF_DEBUG = False
147 REL_CCFLAGS = ['-DNDEBUG', '-DNDEBUG', '-O2']  # C & C++
148 PLATFORM_LINKFLAGS = ['-L/home/sources/staticlibs/lib32']
149 BF_PROGRAM_LINKFLAGS = ['-Wl,--whole-archive', '-loslexec', '-Wl,--no-whole-archive', '-Wl,--version-script=source/creator/blender.map']