[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [52746] trunk/blender/build_files/ build_environment/install_deps.sh: Add --force-all option to force rebuild of all built libraries.

Bastien Montagne montagne29 at wanadoo.fr
Mon Dec 3 14:28:37 CET 2012


Revision: 52746
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=52746
Author:   mont29
Date:     2012-12-03 13:28:35 +0000 (Mon, 03 Dec 2012)
Log Message:
-----------
Add --force-all option to force rebuild of all built libraries.

Modified Paths:
--------------
    trunk/blender/build_files/build_environment/install_deps.sh

Modified: trunk/blender/build_files/build_environment/install_deps.sh
===================================================================
--- trunk/blender/build_files/build_environment/install_deps.sh	2012-12-03 13:07:43 UTC (rev 52745)
+++ trunk/blender/build_files/build_environment/install_deps.sh	2012-12-03 13:28:35 UTC (rev 52746)
@@ -4,8 +4,8 @@
 ARGS=$( \
 getopt \
 -o s:i:t:h \
---long source:,install:,threads:,help,with-osl,all-static,force-python,force-boost,\
-force-ocio,force-oiio,force-llvm,force-osl,force-ffmpeg \
+--long source:,install:,threads:,help,with-osl,all-static,force-all,force-python,
+force-boost,force-ocio,force-oiio,force-llvm,force-osl,force-ffmpeg \
 -- "$@" \
 )
 
@@ -56,6 +56,9 @@
     --all-static
         Build libraries as statically as possible, to create static builds of Blender.
 
+    --force-all
+        Force the rebuild of all built libraries.
+
     --force-python
         Force the rebuild of Python.
 
@@ -81,7 +84,8 @@
         * They obviously only have an effect if those libraries are built by this script
           (i.e. if there is no available and satisfatory package)!
         * If the “force-rebuilt” library is a dependency of anothers, it will force the rebuild
-          of those libraries too (e.g. --force-boost will also rebuild oiio and osl...).\""
+          of those libraries too (e.g. --force-boost will also rebuild oiio and osl...).
+        * Do not forget --with-osl if you built it and still want it!\""
 
 PYTHON_VERSION="3.3.0"
 PYTHON_VERSION_MIN="3.3"
@@ -193,6 +197,16 @@
     --all-static)
       ALL_STATIC=true; shift; continue
     ;;
+    --force-all)
+      PYTHON_FORCE_REBUILD=true
+      BOOST_FORCE_REBUILD=true
+      OCIO_FORCE_REBUILD=true
+      OIIO_FORCE_REBUILD=true
+      LLVM_FORCE_REBUILD=true
+      OSL_FORCE_REBUILD=true
+      FFMPEG_FORCE_REBUILD=true
+      shift; continue
+    ;;
     --force-python)
       PYTHON_FORCE_REBUILD=true; shift; continue
     ;;




More information about the Bf-blender-cvs mailing list