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