Enable libboost_locale for buildbot rules
[blender.git] / build_files / buildbot / config / user-config-glibc27-x86_64.py
1 BF_BUILDDIR = '../blender-build/linux-glibc27-x86_64'
2 BF_INSTALLDIR = '../blender-install/linux-glibc27-x86_64'
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/lib64'
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}/lib64'
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/x86_64-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/lib64'
56
57 WITH_BF_PNG = True
58 BF_PNG_LIB = 'libpng'
59 BF_PNG_LIBPATH = '/home/sources/staticlibs/lib64'
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}/lib64'
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}/lib64'
89
90 # FFT
91 WITH_BF_FFTW3 = True
92 WITH_BF_STATICFFTW3 = True
93
94 # JACK
95 WITH_BF_JACK = True
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 # Color management
110 WITH_BF_OCIO = True
111 WITH_BF_STATICOCIO = True
112 BF_OCIO = '/opt/ocio'
113 BF_OCIO_INC = '${BF_OCIO}/include'
114 BF_OCIO_LIB_STATIC = '${BF_OCIO_LIBPATH}/libOpenColorIO.a ${BF_OCIO_LIBPATH}/libtinyxml.a ${BF_OCIO_LIBPATH}/libyaml-cpp.a'
115 BF_OCIO_LIBPATH = '${BF_OCIO}/lib'
116
117 WITH_BF_BOOST = True
118 WITH_BF_STATICBOOST = True
119 BF_BOOST = '/opt/boost'
120 BF_BOOST_INC = '${BF_BOOST}/include'
121 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'
122 BF_BOOST_LIBPATH = '${BF_BOOST}/lib'
123
124 # Ocean Simulation
125 WITH_BF_OCEANSIM = True
126
127 # Compilation and optimization
128 BF_DEBUG = False
129 REL_CCFLAGS = ['-O2', '-msse', '-msse2']  # C & C++
130 PLATFORM_LINKFLAGS = ['-L/home/sources/staticlibs/lib64']