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:
authorBastien Montagne <montagne29@wanadoo.fr>2012-12-03 17:28:35 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-12-03 17:28:35 +0400
commit6213c6d69b43d11153fca69a50508c93c67dd05a (patch)
tree9c105080c15b42f03a861d519b0e0d401f930a90 /build_files/build_environment
parent582a9d1c45e5d75210a2d4010e55cd9a0f3673a2 (diff)
Add --force-all option to force rebuild of all built libraries.
Diffstat (limited to 'build_files/build_environment')
-rwxr-xr-xbuild_files/build_environment/install_deps.sh20
1 files changed, 17 insertions, 3 deletions
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh
index 80e8ae91e97..17b1419b905 100755
--- a/build_files/build_environment/install_deps.sh
+++ b/build_files/build_environment/install_deps.sh
@@ -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 @@ ARGUMENTS_INFO="\"COMMAND LINE ARGUMENTS:
--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 @@ ARGUMENTS_INFO="\"COMMAND LINE ARGUMENTS:
* 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 @@ while true; do
--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
;;