Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-12-03 20:51:05 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-12-03 20:51:05 +0400
commitdbd44e3bf5bc2f9ce0ae8d65a285155b5798e48d (patch)
tree856d913f5d01e701f2abe5c594261db7b6b7bb3f /SConstruct
parenta4e6da35806f40d9815732516c9102fe9e7e1ecb (diff)
Fix scons not installing closure/ directory for runtime compiles of CUDA kernel.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct10
1 files changed, 10 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index d6972de8cab..c2bae0459ca 100644
--- a/SConstruct
+++ b/SConstruct
@@ -700,6 +700,8 @@ if env['OURPLATFORM']!='darwin':
source.remove('kernel.cpp')
source.remove('CMakeLists.txt')
source.remove('svm')
+ source.remove('closure')
+ source.remove('shaders')
source.remove('osl')
source=['intern/cycles/kernel/'+s for s in source]
source.append('intern/cycles/util/util_color.h')
@@ -715,6 +717,14 @@ if env['OURPLATFORM']!='darwin':
if '__pycache__' in source: source.remove('__pycache__')
source=['intern/cycles/kernel/svm/'+s for s in source]
scriptinstall.append(env.Install(dir=dir,source=source))
+ # closure
+ dir=os.path.join(env['BF_INSTALLDIR'], VERSION, 'scripts', 'addons','cycles', 'kernel', 'closure')
+ source=os.listdir('intern/cycles/kernel/closure')
+ if '.svn' in source: source.remove('.svn')
+ if '_svn' in source: source.remove('_svn')
+ if '__pycache__' in source: source.remove('__pycache__')
+ source=['intern/cycles/kernel/closure/'+s for s in source]
+ scriptinstall.append(env.Install(dir=dir,source=source))
# licenses
dir=os.path.join(env['BF_INSTALLDIR'], VERSION, 'scripts', 'addons','cycles', 'license')