b054abe7005510d723bec34395ff845ec96e3d3e
[blender.git] / build_files / buildbot / config / user-config-glibc211-i686.py
1 BF_BUILDDIR = '../blender-build/linux-glibc211-i686'
2 BF_INSTALLDIR = '../blender-install/linux-glibc211-i686'
3 BF_NUMJOBS = 4
4 WITHOUT_BF_OVERWRITE_INSTALL = True
5
6 # Python configuration
7 BF_PYTHON_VERSION = '3.4'
8 BF_PYTHON_ABI_FLAGS = 'm'
9 BF_PYTHON = '/opt/lib/python-3.4'
10 WITH_BF_PYTHON_INSTALL_NUMPY = True
11 WITH_BF_PYTHON_INSTALL_REQUESTS = True
12
13 WITH_BF_STATICPYTHON = True
14
15 # OpenCollada configuration
16 WITH_BF_COLLADA = True
17 WITH_BF_STATICOPENCOLLADA=True
18 BF_OPENCOLLADA = '/opt/lib/opencollada'
19 BF_OPENCOLLADA_INC = '${BF_OPENCOLLADA}/include'
20 BF_OPENCOLLADA_LIB_STATIC = '${BF_OPENCOLLADA}/lib/libOpenCOLLADAStreamWriter.a ' + \
21     '${BF_OPENCOLLADA}/lib/libOpenCOLLADASaxFrameworkLoader.a ' + \
22     '${BF_OPENCOLLADA}/lib/libOpenCOLLADAFramework.a ' + \
23     '${BF_OPENCOLLADA}/lib/libOpenCOLLADABaseUtils.a ' + \
24     '${BF_OPENCOLLADA}/lib/libGeneratedSaxParser.a '  + \
25     '${BF_OPENCOLLADA}/lib/libMathMLSolver.a ' + \
26     '${BF_OPENCOLLADA}/lib/libbuffer.a ${BF_OPENCOLLADA}/lib/libftoa.a ' + \
27     '/usr/lib/libxml2.a /usr/lib/libexpat.a /usr/lib/libpcre.a'
28 BF_OPENCOLLADA_LIBPATH = '${BF_OPENCOLLADA}/lib /home/sources/staticlibs/lib64'
29 BF_PCRE_LIB = ''
30 BF_EXPAT_LIB = ''
31
32 # FFMPEG configuration
33 WITH_BF_FFMPEG = True
34 WITH_BF_STATICFFMPEG = True
35
36 BF_FFMPEG = '/opt/lib/ffmpeg'
37 BF_FFMPEG_LIBPATH = '${BF_FFMPEG}/lib'
38 BF_FFMPEG_LIB_STATIC = '${BF_FFMPEG_LIBPATH}/libavformat.a ${BF_FFMPEG_LIBPATH}/libavdevice.a ' + \
39     '${BF_FFMPEG_LIBPATH}/libavfilter.a ${BF_FFMPEG_LIBPATH}/libavcodec.a ${BF_FFMPEG_LIBPATH}/libavutil.a ' + \
40     '${BF_FFMPEG_LIBPATH}/libswscale.a ${BF_FFMPEG_LIBPATH}/libswresample.a ' + \
41     '/usr/lib/libxvidcore.a /usr/lib/libx264.a /usr/lib/libmp3lame.a /usr/lib/libvpx.a /usr/lib/libvorbis.a ' + \
42     '/usr/lib/libogg.a /usr/lib/libvorbisenc.a /usr/lib/libtheora.a /usr/lib/libschroedinger-1.0.a ' + \
43     '/usr/lib/liborc-0.4.a'
44
45 # Don't depend on system's libstdc++
46 WITH_BF_STATICCXX = True
47 BF_CXX_LIB_STATIC = '/usr/lib/gcc/i486-linux-gnu/4.7.1/libstdc++.a'
48
49 WITH_BF_OPENAL = True
50 WITH_BF_STATICOPENAL = True
51 BF_OPENAL = '/opt/lib/openal'
52 BF_OPENAL_LIB_STATIC = '/opt/lib/openal/lib/libopenal.a /opt/lib/openal/lib/libcommon.a'
53
54 WITH_BF_GETTEXT_STATIC = True
55
56 WITH_BF_FREETYPE_STATIC = False
57
58 WITH_BF_OPENEXR = True
59 BF_OPENEXR = '/opt/lib/openexr'
60 BF_OPENEXR_INC = '${BF_OPENEXR}/include/OpenEXR ${BF_OPENEXR}/include'
61 WITH_BF_STATICOPENEXR = True
62
63 WITH_BF_TIFF = True
64 WITH_BF_STATICTIFF = True
65 BF_TIFF_LIB_STATIC = '${BF_TIFF}/lib/libtiff.a'
66
67 WITH_BF_JPEG = True
68 WITH_BF_STATICJPEG = True
69 BF_JPEG_LIB_STATIC= '${BF_JPEG}/lib/libjpeg.a'
70
71 WITH_BF_PNG = True
72 WITH_BF_STATICPNG = True
73 BF_PNG_LIB_STATIC = '${BF_PNG}/lib/libpng.a'
74
75 WITH_BF_STATICLIBSAMPLERATE = True
76
77 WITH_BF_ZLIB = True
78 WITH_BF_STATICZLIB = True
79 BF_ZLIB_LIB_STATIC = '${BF_ZLIB}/lib/libz.a'
80
81 WITH_BF_SDL = True
82 WITH_BF_SDL_DYNLOAD = True
83
84 WITH_BF_OGG = True
85
86 WITH_BF_OPENMP = True
87 WITH_BF_STATICOPENMP = True
88 BF_OPENMP_LIB_STATIC = '/usr/lib/gcc/i486-linux-gnu/4.7/libgomp.a'
89
90 WITH_BF_GAMEENGINE = True
91 WITH_BF_BULLET = True
92
93 # Blender player (would be enabled in it's own config)
94 WITH_BF_PLAYER = False
95
96 # Use jemalloc memory manager
97 WITH_BF_JEMALLOC = True
98 WITH_BF_STATICJEMALLOC = True
99 BF_JEMALLOC = '/opt/lib/jemalloc'
100 BF_JEMALLOC_LIBPATH = '${BF_JEMALLOC}/lib'
101
102 # Use 3d mouse library
103 WITH_BF_3DMOUSE = True
104 WITH_BF_STATIC3DMOUSE = True
105 BF_3DMOUSE = '/opt/lib/libspnav'
106 BF_3DMOUSE_LIBPATH = '${BF_3DMOUSE}/lib'
107
108 # FFT
109 WITH_BF_FFTW3 = True
110 WITH_BF_STATICFFTW3 = True
111
112 # JACK
113 WITH_BF_JACK = True
114 WITH_BF_JACK_DYNLOAD = True
115
116 # Cycles
117 WITH_BF_CYCLES = True
118 WITH_BF_CYCLES_CUDA_BINARIES = False
119
120 WITH_BF_OIIO = True
121 WITH_BF_STATICOIIO = True
122 BF_OIIO = '/opt/lib/oiio'
123 BF_OIIO_INC = '${BF_OIIO}/include'
124 BF_OIIO_LIB_STATIC = '${BF_OIIO_LIBPATH}/libOpenImageIO.a ${BF_OPENEXR}/lib/libIlmImf.a ${BF_JPEG}/lib/libjpeg.a'
125 BF_OIIO_LIBPATH = '${BF_OIIO}/lib'
126
127 BF_IS_NEW_OSL = False
128 WITH_BF_CYCLES_OSL = True
129 WITH_BF_STATICOSL = BF_IS_NEW_OSL
130 BF_OSL = '/opt/lib/osl'
131 BF_OSL_INC = '${BF_OSL}/include'
132 # note oslexec would passed via program linkflags, which is needed to
133 # make llvm happy with osl_allocate_closure_component
134 BF_OSL_LIB = 'oslcomp oslexec oslquery'
135 BF_OSL_LIB_STATIC = '${BF_OSL}/lib/liboslcomp.a ${BF_OSL}/lib/liboslexec.a ${BF_OSL}/lib/liboslquery.a'
136 BF_OSL_LIBPATH = '${BF_OSL}/lib'
137 BF_OSL_COMPILER = '${BF_OSL}/bin/oslc'
138
139 WITH_BF_LLVM = True
140 WITH_BF_STATICLLVM = False
141 BF_LLVM = '/opt/lib/llvm-3.4.2'
142 BF_LLVM_LIB = 'LLVMBitReader LLVMJIT LLVMipo LLVMVectorize LLVMBitWriter LLVMX86CodeGen LLVMX86Desc LLVMObject LLVMX86Info LLVMX86AsmPrinter ' + \
143     'LLVMX86Utils LLVMSelectionDAG LLVMCodeGen LLVMScalarOpts LLVMInstCombine LLVMTransformUtils LLVMipa LLVMAnalysis LLVMExecutionEngine ' + \
144     'LLVMTarget LLVMMC LLVMCore LLVMSupport'
145 BF_LLVM_LIBPATH = '${BF_LLVM}/lib'
146
147 # Color management
148 WITH_BF_OCIO = True
149 WITH_BF_STATICOCIO = True
150 BF_OCIO = '/opt/lib/ocio'
151 BF_OCIO_INC = '${BF_OCIO}/include'
152 BF_OCIO_LIB_STATIC = '${BF_OCIO_LIBPATH}/libOpenColorIO.a ${BF_OCIO_LIBPATH}/libtinyxml.a ${BF_OCIO_LIBPATH}/libyaml-cpp.a'
153 BF_OCIO_LIBPATH = '${BF_OCIO}/lib'
154
155 WITH_BF_BOOST = True
156 WITH_BF_STATICBOOST = True
157 BF_BOOST = '/opt/lib/boost'
158 BF_BOOST_INC = '${BF_BOOST}/include'
159 BF_BOOST_LIB_STATIC = '${BF_BOOST_LIBPATH}/libboost_filesystem.a ${BF_BOOST_LIBPATH}/libboost_date_time.a ' + \
160     '${BF_BOOST_LIBPATH}/libboost_regex.a ${BF_BOOST_LIBPATH}/libboost_locale.a ${BF_BOOST_LIBPATH}/libboost_system.a \
161     ${BF_BOOST_LIBPATH}/libboost_thread.a'
162 if BF_IS_NEW_OSL:
163     BF_BOOST_LIB_STATIC += ' ${BF_BOOST_LIBPATH}/libboost_wave.a'
164 BF_BOOST_LIBPATH = '${BF_BOOST}/lib'
165
166 # Ocean Simulation
167 WITH_BF_OCEANSIM = True
168
169 # OpenSubdiv
170 WITH_BF_OPENSUBDIV = False
171 WITH_BF_STATICOPENSUBDIV = True
172 BF_OPENSUBDIV = '/opt/lib/opensubdiv'
173 BF_OPENSUBDIV_INC = '${BF_OPENSUBDIV}/include'
174 BF_OPENSUBDIV_LIB = 'osdCPU osdGPU'
175 BF_OPENSUBDIV_LIBPATH = '${BF_OPENSUBDIV}/lib'
176 BF_OPENSUBDIV_LIB_STATIC = '${BF_OPENSUBDIV}/lib/libosdCPU.a ${BF_OPENSUBDIV}/lib/libosdGPU.a'
177
178 # Compilation and optimization
179 BF_DEBUG = False
180 REL_CCFLAGS = ['-DNDEBUG', '-O2', '-msse', '-msse2']  # C & C++
181 PLATFORM_LINKFLAGS = ['-lrt']
182 if BF_IS_NEW_OSL:
183     BF_PROGRAM_LINKFLAGS = ['-Wl,--version-script=source/creator/blender.map']
184 else:
185   BF_PROGRAM_LINKFLAGS = ['-Wl,--whole-archive', '-loslexec', '-Wl,--no-whole-archive', '-Wl,--version-script=source/creator/blender.map']