[Bf-committers] Blender native compile for headless servers???
Campbell Barton
ideasman42 at gmail.com
Tue Mar 8 21:58:29 CET 2011
On Tue, Mar 8, 2011 at 6:58 PM, pete larabell <xgl.asyliax at gmail.com> wrote:
> Hi all,
>
> Is it entirely too complex and/or impossible to have (at some point in the
> future) a compile flag (ex. WITH_HEADLESS) that would allow for a compile
> that would always run in background render mode?
>
> I guess blender is run on enough render servers where there is no terminal
> at bigger shops.
>
> Would making a always-headless compile version reduce required dependencies
> at all?
>
> Cheers,
> Peter
Hi, we could reduce binary size and deps with a headless build.
objdump blender.bin -x | grep NEEDED
libGL.so.1
libGLU.so.1
libjpeg.so.8
libpng14.so.14
libz.so.1
libutil.so.1
libpthread.so.0
libstdc++.so.6
libX11.so.6
libXi.so.6
libdl.so.2
libpython3.2d.so.1.0
libfreetype.so.6
libHalf.so.6
libIlmImf.so.6
libIex.so.6
libImath.so.6
libc.so.6
libm.so.6
libgcc_s.so.1
--- from this list we could remove GHOST dependency and
libGL.so.1
libGLU.so.1
libX11.so.6
libXi.so.6
Probably the easiest way to maintain this would be to use stubs for
ghost and opengl so we dont litter our codebase with ifdef's.
Brecht did this once for some renderfarm testcase, so he may have some
suggestions.
- Campbell
More information about the Bf-committers
mailing list