OSL Scons rules
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 15 Nov 2012 13:11:12 +0000 (13:11 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 15 Nov 2012 13:11:12 +0000 (13:11 +0000)
commit9eccf40daa7edccc6ca9613611c12270cddbd773
tree9bf3eb7fa85d6cfe017b884c515d6e961a34c9ce
parentabeeea6a96dcb69451a394546f75501a61382b9d
OSL Scons rules

Initial support of OSL builds using SCons build system. Only tested on Linux now.
No changes to configuration files themselves -- for now check how it's configured
for linux buildbot (it was already horror to make all this changes and verify them,
changes to linux-config.py could easily be done later).

Currently WITH_BF_STATICOSL and WITH_BF_STATICLLVM are more like rudiments because
linking against oslexec requires special trick with --whole-archive. We woul either
need to find a way dealing with this oslexec less hackish or drop STATICOSL and
STATICLLVM flags. Will keep dropping this flags for until we have "final" build
rules for OSL.

Still can not make 32bit linux rendering with OSL -- blender simply crashes when
starting rendering. So for time being this issues are solving disabled OSL for
32bit build slaves.
SConstruct
build_files/buildbot/config/user-config-glibc211-i686.py
build_files/buildbot/config/user-config-glibc211-x86_64.py
build_files/buildbot/config/user-config-glibc27-i686.py
build_files/buildbot/config/user-config-glibc27-x86_64.py
build_files/scons/tools/Blender.py
build_files/scons/tools/btools.py
intern/cycles/SConscript
intern/cycles/kernel/osl/SConscript [new file with mode: 0644]
intern/cycles/kernel/shaders/SConscript [new file with mode: 0644]