2012-10-28 17:03:36 +00:00
|
|
|
BF_BUILDDIR = '../blender-build/linux-glibc211-i686'
|
|
|
|
BF_INSTALLDIR = '../blender-install/linux-glibc211-i686'
|
2013-01-10 08:01:19 +00:00
|
|
|
BF_NUMJOBS = 4
|
2013-02-12 08:30:12 +00:00
|
|
|
WITHOUT_BF_OVERWRITE_INSTALL = True
|
2012-10-28 17:03:36 +00:00
|
|
|
|
|
|
|
# Python configuration
|
2014-04-22 07:00:35 +00:00
|
|
|
BF_PYTHON_VERSION = '3.4'
|
2012-10-28 17:03:36 +00:00
|
|
|
BF_PYTHON_ABI_FLAGS = 'm'
|
2014-04-22 07:00:35 +00:00
|
|
|
BF_PYTHON = '/opt/lib/python-3.4'
|
2013-04-18 12:25:13 +00:00
|
|
|
WITH_BF_PYTHON_INSTALL_NUMPY = True
|
2014-03-05 08:00:58 +00:00
|
|
|
WITH_BF_PYTHON_INSTALL_REQUESTS = True
|
2012-10-28 17:03:36 +00:00
|
|
|
|
|
|
|
WITH_BF_STATICPYTHON = True
|
|
|
|
|
|
|
|
# OpenCollada configuration
|
|
|
|
WITH_BF_COLLADA = True
|
|
|
|
WITH_BF_STATICOPENCOLLADA=True
|
|
|
|
BF_OPENCOLLADA = '/opt/lib/opencollada'
|
|
|
|
BF_OPENCOLLADA_INC = '${BF_OPENCOLLADA}/include'
|
|
|
|
BF_OPENCOLLADA_LIB_STATIC = '${BF_OPENCOLLADA}/lib/libOpenCOLLADAStreamWriter.a ' + \
|
|
|
|
'${BF_OPENCOLLADA}/lib/libOpenCOLLADASaxFrameworkLoader.a ' + \
|
|
|
|
'${BF_OPENCOLLADA}/lib/libOpenCOLLADAFramework.a ' + \
|
|
|
|
'${BF_OPENCOLLADA}/lib/libOpenCOLLADABaseUtils.a ' + \
|
|
|
|
'${BF_OPENCOLLADA}/lib/libGeneratedSaxParser.a ' + \
|
|
|
|
'${BF_OPENCOLLADA}/lib/libUTF.a ${BF_OPENCOLLADA}/lib/libMathMLSolver.a ' + \
|
|
|
|
'${BF_OPENCOLLADA}/lib/libbuffer.a ${BF_OPENCOLLADA}/lib/libftoa.a ' + \
|
|
|
|
'/usr/lib/libxml2.a /usr/lib/libexpat.a /usr/lib/libpcre.a'
|
|
|
|
BF_OPENCOLLADA_LIBPATH = '${BF_OPENCOLLADA}/lib /home/sources/staticlibs/lib64'
|
|
|
|
BF_PCRE_LIB = ''
|
|
|
|
BF_EXPAT_LIB = ''
|
|
|
|
|
|
|
|
# FFMPEG configuration
|
|
|
|
WITH_BF_FFMPEG = True
|
|
|
|
WITH_BF_STATICFFMPEG = True
|
|
|
|
|
|
|
|
BF_FFMPEG = '/opt/lib/ffmpeg'
|
|
|
|
BF_FFMPEG_LIBPATH = '${BF_FFMPEG}/lib'
|
|
|
|
BF_FFMPEG_LIB_STATIC = '${BF_FFMPEG_LIBPATH}/libavformat.a ${BF_FFMPEG_LIBPATH}/libavdevice.a ' + \
|
|
|
|
'${BF_FFMPEG_LIBPATH}/libavfilter.a ${BF_FFMPEG_LIBPATH}/libavcodec.a ${BF_FFMPEG_LIBPATH}/libavutil.a ' + \
|
|
|
|
'${BF_FFMPEG_LIBPATH}/libswscale.a ${BF_FFMPEG_LIBPATH}/libswresample.a ' + \
|
|
|
|
'/usr/lib/libxvidcore.a /usr/lib/libx264.a /usr/lib/libmp3lame.a /usr/lib/libvpx.a /usr/lib/libvorbis.a ' + \
|
|
|
|
'/usr/lib/libogg.a /usr/lib/libvorbisenc.a /usr/lib/libtheora.a /usr/lib/libschroedinger-1.0.a ' + \
|
2012-10-29 18:03:32 +00:00
|
|
|
'/usr/lib/liborc-0.4.a'
|
2012-10-28 17:03:36 +00:00
|
|
|
|
|
|
|
# Don't depend on system's libstdc++
|
|
|
|
WITH_BF_STATICCXX = True
|
|
|
|
BF_CXX_LIB_STATIC = '/usr/lib/gcc/i486-linux-gnu/4.7.1/libstdc++.a'
|
|
|
|
|
|
|
|
WITH_BF_OPENAL = True
|
|
|
|
WITH_BF_STATICOPENAL = True
|
|
|
|
BF_OPENAL = '/opt/lib/openal'
|
|
|
|
BF_OPENAL_LIB_STATIC = '/opt/lib/openal/lib/libopenal.a'
|
|
|
|
|
|
|
|
WITH_BF_GETTEXT_STATIC = True
|
|
|
|
|
|
|
|
WITH_BF_FREETYPE_STATIC = False
|
|
|
|
|
|
|
|
WITH_BF_OPENEXR = True
|
2013-06-23 11:31:54 +00:00
|
|
|
BF_OPENEXR = '/opt/lib/openexr'
|
|
|
|
BF_OPENEXR_INC = '${BF_OPENEXR}/include/OpenEXR ${BF_OPENEXR}/include'
|
2012-10-28 17:03:36 +00:00
|
|
|
WITH_BF_STATICOPENEXR = True
|
|
|
|
|
|
|
|
WITH_BF_TIFF = True
|
|
|
|
WITH_BF_STATICTIFF = True
|
|
|
|
BF_TIFF_LIB_STATIC = '${BF_TIFF}/lib/libtiff.a'
|
|
|
|
|
|
|
|
WITH_BF_JPEG = True
|
|
|
|
WITH_BF_STATICJPEG = True
|
|
|
|
BF_JPEG_LIB_STATIC= '${BF_JPEG}/lib/libjpeg.a'
|
|
|
|
|
|
|
|
WITH_BF_PNG = True
|
|
|
|
WITH_BF_STATICPNG = True
|
|
|
|
BF_PNG_LIB_STATIC = '${BF_PNG}/lib/libpng.a'
|
|
|
|
|
|
|
|
WITH_BF_STATICLIBSAMPLERATE = True
|
|
|
|
|
|
|
|
WITH_BF_ZLIB = True
|
|
|
|
WITH_BF_STATICZLIB = True
|
|
|
|
BF_ZLIB_LIB_STATIC = '${BF_ZLIB}/lib/libz.a'
|
|
|
|
|
|
|
|
WITH_BF_SDL = True
|
|
|
|
WITH_BF_OGG = True
|
|
|
|
|
|
|
|
WITH_BF_OPENMP = True
|
|
|
|
WITH_BF_STATICOPENMP = True
|
|
|
|
BF_OPENMP_LIB_STATIC = '/usr/lib/gcc/i486-linux-gnu/4.7/libgomp.a'
|
|
|
|
|
|
|
|
WITH_BF_GAMEENGINE = True
|
|
|
|
WITH_BF_BULLET = True
|
|
|
|
|
|
|
|
# Blender player (would be enabled in it's own config)
|
|
|
|
WITH_BF_PLAYER = False
|
|
|
|
|
|
|
|
# Use jemalloc memory manager
|
|
|
|
WITH_BF_JEMALLOC = True
|
|
|
|
WITH_BF_STATICJEMALLOC = True
|
|
|
|
BF_JEMALLOC = '/opt/lib/jemalloc'
|
|
|
|
BF_JEMALLOC_LIBPATH = '${BF_JEMALLOC}/lib'
|
|
|
|
|
|
|
|
# Use 3d mouse library
|
|
|
|
WITH_BF_3DMOUSE = True
|
|
|
|
WITH_BF_STATIC3DMOUSE = True
|
|
|
|
BF_3DMOUSE = '/opt/lib/libspnav'
|
|
|
|
BF_3DMOUSE_LIBPATH = '${BF_3DMOUSE}/lib'
|
|
|
|
|
|
|
|
# FFT
|
|
|
|
WITH_BF_FFTW3 = True
|
|
|
|
WITH_BF_STATICFFTW3 = True
|
|
|
|
|
|
|
|
# JACK
|
2013-03-27 07:19:54 +00:00
|
|
|
WITH_BF_JACK = True
|
|
|
|
WITH_BF_JACK_DYNLOAD = True
|
2012-10-28 17:03:36 +00:00
|
|
|
|
|
|
|
# Cycles
|
|
|
|
WITH_BF_CYCLES = True
|
2013-02-12 08:30:12 +00:00
|
|
|
WITH_BF_CYCLES_CUDA_BINARIES = False
|
2012-10-28 17:03:36 +00:00
|
|
|
|
|
|
|
WITH_BF_OIIO = True
|
|
|
|
WITH_BF_STATICOIIO = True
|
|
|
|
BF_OIIO = '/opt/lib/oiio'
|
|
|
|
BF_OIIO_INC = '${BF_OIIO}/include'
|
|
|
|
BF_OIIO_LIB_STATIC = '${BF_OIIO_LIBPATH}/libOpenImageIO.a ${BF_OPENEXR}/lib/libIlmImf.a ${BF_JPEG}/lib/libjpeg.a'
|
|
|
|
BF_OIIO_LIBPATH = '${BF_OIIO}/lib'
|
|
|
|
|
2012-11-15 19:26:11 +00:00
|
|
|
WITH_BF_CYCLES_OSL = True
|
2012-11-15 13:11:12 +00:00
|
|
|
WITH_BF_STATICOSL = False
|
|
|
|
BF_OSL = '/opt/lib/osl'
|
|
|
|
BF_OSL_INC = '${BF_OSL}/include'
|
|
|
|
# note oslexec would passed via program linkflags, which is needed to
|
|
|
|
# make llvm happy with osl_allocate_closure_component
|
|
|
|
BF_OSL_LIB = 'oslcomp oslexec oslquery'
|
|
|
|
BF_OSL_LIBPATH = '${BF_OSL}/lib'
|
|
|
|
BF_OSL_COMPILER = '${BF_OSL}/bin/oslc'
|
|
|
|
|
2012-11-15 19:26:11 +00:00
|
|
|
WITH_BF_LLVM = True
|
2012-11-15 13:11:12 +00:00
|
|
|
WITH_BF_STATICLLVM = False
|
|
|
|
BF_LLVM = '/opt/lib/llvm-3.1'
|
|
|
|
BF_LLVM_LIB = 'LLVMBitReader LLVMJIT LLVMipo LLVMVectorize LLVMBitWriter LLVMX86CodeGen LLVMX86Desc LLVMX86Info LLVMX86AsmPrinter ' + \
|
|
|
|
'LLVMX86Utils LLVMSelectionDAG LLVMCodeGen LLVMScalarOpts LLVMInstCombine LLVMTransformUtils LLVMipa LLVMAnalysis LLVMExecutionEngine ' + \
|
|
|
|
'LLVMTarget LLVMMC LLVMCore LLVMSupport'
|
|
|
|
BF_LLVM_LIBPATH = '${BF_LLVM}/lib'
|
|
|
|
|
2012-10-28 17:03:36 +00:00
|
|
|
# Color management
|
|
|
|
WITH_BF_OCIO = True
|
|
|
|
WITH_BF_STATICOCIO = True
|
|
|
|
BF_OCIO = '/opt/lib/ocio'
|
|
|
|
BF_OCIO_INC = '${BF_OCIO}/include'
|
|
|
|
BF_OCIO_LIB_STATIC = '${BF_OCIO_LIBPATH}/libOpenColorIO.a ${BF_OCIO_LIBPATH}/libtinyxml.a ${BF_OCIO_LIBPATH}/libyaml-cpp.a'
|
|
|
|
BF_OCIO_LIBPATH = '${BF_OCIO}/lib'
|
|
|
|
|
|
|
|
WITH_BF_BOOST = True
|
|
|
|
WITH_BF_STATICBOOST = True
|
|
|
|
BF_BOOST = '/opt/lib/boost'
|
|
|
|
BF_BOOST_INC = '${BF_BOOST}/include'
|
|
|
|
BF_BOOST_LIB_STATIC = '${BF_BOOST_LIBPATH}/libboost_filesystem.a ${BF_BOOST_LIBPATH}/libboost_date_time.a ' + \
|
2012-11-12 12:10:46 +00:00
|
|
|
'${BF_BOOST_LIBPATH}/libboost_regex.a ${BF_BOOST_LIBPATH}/libboost_locale.a ${BF_BOOST_LIBPATH}/libboost_system.a \
|
|
|
|
${BF_BOOST_LIBPATH}/libboost_thread.a'
|
2012-10-28 17:03:36 +00:00
|
|
|
BF_BOOST_LIBPATH = '${BF_BOOST}/lib'
|
|
|
|
|
|
|
|
# Ocean Simulation
|
|
|
|
WITH_BF_OCEANSIM = True
|
|
|
|
|
|
|
|
# Compilation and optimization
|
|
|
|
BF_DEBUG = False
|
2012-11-28 16:19:45 +00:00
|
|
|
REL_CCFLAGS = ['-DNDEBUG', '-O2', '-msse', '-msse2'] # C & C++
|
2012-10-28 17:03:36 +00:00
|
|
|
PLATFORM_LINKFLAGS = ['-lrt']
|
2012-11-21 22:28:15 +00:00
|
|
|
BF_PROGRAM_LINKFLAGS = ['-Wl,--whole-archive', '-loslexec', '-Wl,--no-whole-archive', '-Wl,--version-script=source/creator/blender.map']
|