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
path: root/tools
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-11-19 14:49:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-11-19 14:49:42 +0300
commitb895b2e48f3910c2ff4b971ce57fc4fe48e2c24a (patch)
tree91dc494bd60613888839ad7194456ac00dbb9cc7 /tools
parent55b328035505d6c94e64e2140f0eebbbd3da6615 (diff)
- remove CPPFLAG XP_UNIX from CMake, Scons and Irix make, checked our own code and /usr/include, its only used in our netscape plugin.
- CMake on unix default OpenMP to enabled. - Scons on linux default OpenMP to enabled. - copying python is slow, for scons only copy if the directory has not been created.
Diffstat (limited to 'tools')
-rw-r--r--tools/Blender.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/Blender.py b/tools/Blender.py
index 94ad485e176..4dad70bbef5 100644
--- a/tools/Blender.py
+++ b/tools/Blender.py
@@ -545,6 +545,14 @@ def UnixPyBundle(target=None, source=None, env=None):
py_src = env.subst( env['BF_PYTHON_LIBPATH'] + '/python'+env['BF_PYTHON_VERSION'] )
py_target = env.subst( dir + '/python/lib/python'+env['BF_PYTHON_VERSION'] )
+ # This is a bit weak, but dont install if its been installed before, makes rebuilds quite slow.
+ if os.path.exists(py_target):
+ print 'Using existing python from:'
+ print '\t"%s"' % py_target
+ print '\t(skipping copy)\n'
+ return
+
+
# Copied from source/creator/CMakeLists.txt, keep in sync.
print 'Install python from:'
print '\t"%s" into...' % py_src