Fix cycles CUDA sm 1.3 build with 32 bit compiler, tweaked voronoi
[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 = 2
4
5 # Python configuration
6 BF_PYTHON_VERSION = '3.3'
7 BF_PYTHON_ABI_FLAGS = 'm'
8 BF_PYTHON = '/opt/lib/python-3.3'
9
10 WITH_BF_STATICPYTHON = True
11
12 # OpenCollada configuration
13 WITH_BF_COLLADA = True
14 WITH_BF_STATICOPENCOLLADA=True
15 BF_OPENCOLLADA = '/opt/lib/opencollada'
16 BF_OPENCOLLADA_INC = '${BF_OPENCOLLADA}/include'
17 BF_OPENCOLLADA_LIB_STATIC = '${BF_OPENCOLLADA}/lib/libOpenCOLLADAStreamWriter.a ' + \
18     '${BF_OPENCOLLADA}/lib/libOpenCOLLADASaxFrameworkLoader.a ' + \
19     '${BF_OPENCOLLADA}/lib/libOpenCOLLADAFramework.a ' + \
20     '${BF_OPENCOLLADA}/lib/libOpenCOLLADABaseUtils.a ' + \
21     '${BF_OPENCOLLADA}/lib/libGeneratedSaxParser.a '  + \
22     '${BF_OPENCOLLADA}/lib/libUTF.a ${BF_OPENCOLLADA}/lib/libMathMLSolver.a ' + \
23     '${BF_OPENCOLLADA}/lib/libbuffer.a ${BF_OPENCOLLADA}/lib/libftoa.a ' + \
24     '/usr/lib/libxml2.a /usr/lib/libexpat.a /usr/lib/libpcre.a'
25 BF_OPENCOLLADA_LIBPATH = '${BF_OPENCOLLADA}/lib /home/sources/staticlibs/lib64'
26 BF_PCRE_LIB = ''
27 BF_EXPAT_LIB = ''
28
29 # FFMPEG configuration
30 WITH_BF_FFMPEG = True
31 WITH_BF_STATICFFMPEG = True
32
33 BF_FFMPEG = '/opt/lib/ffmpeg'
34 BF_FFMPEG_LIBPATH = '${BF_FFMPEG}/lib'
35 BF_FFMPEG_LIB_STATIC = '${BF_FFMPEG_LIBPATH}/libavformat.a ${BF_FFMPEG_LIBPATH}/libavdevice.a ' + \
36     '${BF_FFMPEG_LIBPATH}/libavfilter.a ${BF_FFMPEG_LIBPATH}/libavcodec.a ${BF_FFMPEG_LIBPATH}/libavutil.a ' + \
37     '${BF_FFMPEG_LIBPATH}/libswscale.a ${BF_FFMPEG_LIBPATH}/libswresample.a ' + \
38     '/usr/lib/libxvidcore.a /usr/lib/libx264.a /usr/lib/libmp3lame.a /usr/lib/libvpx.a /usr/lib/libvorbis.a ' + \
39     '/usr/lib/libogg.a /usr/lib/libvorbisenc.a /usr/lib/libtheora.a /usr/lib/libschroedinger-1.0.a ' + \
40     '/usr/lib/liborc-0.4.a'
41
42 # Don't depend on system's libstdc++
43 WITH_BF_STATICCXX = True
44 BF_CXX_LIB_STATIC = '/usr/lib/gcc/i486-linux-gnu/4.7.1/libstdc++.a'
45
46 WITH_BF_OPENAL = True
47 WITH_BF_STATICOPENAL = True
48 BF_OPENAL = '/opt/lib/openal'
49 BF_OPENAL_LIB_STATIC = '/opt/lib/openal/lib/libopenal.a'
50
51 WITH_BF_GETTEXT_STATIC = True
52
53 WITH_BF_FREETYPE_STATIC = False
54
55 WITH_BF_OPENEXR = True
56 WITH_BF_STATICOPENEXR = True
57
58 WITH_BF_TIFF = True
59 WITH_BF_STATICTIFF = True
60 BF_TIFF_LIB_STATIC = '${BF_TIFF}/lib/libtiff.a'
61
62 WITH_BF_JPEG = True
63 WITH_BF_STATICJPEG = True
64 BF_JPEG_LIB_STATIC= '${BF_JPEG}/lib/libjpeg.a'
65
66 WITH_BF_PNG = True
67 WITH_BF_STATICPNG = True
68 BF_PNG_LIB_STATIC = '${BF_PNG}/lib/libpng.a'
69
70 WITH_BF_STATICLIBSAMPLERATE = True
71
72 WITH_BF_ZLIB = True
73 WITH_BF_STATICZLIB = True
74 BF_ZLIB_LIB_STATIC = '${BF_ZLIB}/lib/libz.a'
75
76 WITH_BF_SDL = True
77 WITH_BF_OGG = True
78
79 WITH_BF_OPENMP = True
80 WITH_BF_STATICOPENMP = True
81 BF_OPENMP_LIB_STATIC = '/usr/lib/gcc/i486-linux-gnu/4.7/libgomp.a'
82
83 WITH_BF_GAMEENGINE = True
84 WITH_BF_BULLET = True
85
86 # Blender player (would be enabled in it's own config)
87 WITH_BF_PLAYER = False
88
89 # Use jemalloc memory manager
90 WITH_BF_JEMALLOC = True
91 WITH_BF_STATICJEMALLOC = True
92 BF_JEMALLOC = '/opt/lib/jemalloc'
93 BF_JEMALLOC_LIBPATH = '${BF_JEMALLOC}/lib'
94
95 # Use 3d mouse library
96 WITH_BF_3DMOUSE = True
97 WITH_BF_STATIC3DMOUSE = True
98 BF_3DMOUSE = '/opt/lib/libspnav'
99 BF_3DMOUSE_LIBPATH = '${BF_3DMOUSE}/lib'
100
101 # FFT
102 WITH_BF_FFTW3 = True
103 WITH_BF_STATICFFTW3 = True
104
105 # JACK
106 WITH_BF_JACK = True
107 WITH_BF_STATICJACK = True
108 BF_JACK_LIB_STATIC = '${BF_ZLIB}/lib/libjack.a'
109
110 # Cycles
111 WITH_BF_CYCLES = True
112 WITH_BF_CYCLES_CUDA_BINARIES = True
113 BF_CYCLES_CUDA_BINARIES_ARCH = ['sm_13', 'sm_20', 'sm_21', 'sm_30']
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']